Well... No. There doesn't seem to be any documentation. But this is
what I found I could do to get it to work.
Download WOLipse.
Untar the Download.
Look into the new Directory and find the "Plugins" directory.
Look inside the "plugins" directory for the following
file:org.objectstyle.wolips.woproject.ant_1.1.0.90.jar
from a terminal run "jar -xvf
org.objectstyle.wolips.woproject.ant_1.1.0.90.jar
This creates another new directory called "lib"
Inside "lib" is another jar named woproject.jar.
Copy or move (your choice) "woproject.jar" into the "lib" directory of
your "Ant" distribution.
Now try your build outside of Eclipse. It should work, it did for me
running OS X, 10.3.6. If you need to change where the build products
are placed (I did) you can edit the "build.properties" file that should
be at the same level as your "build.xml" file. For example, when I
create my installer package I do not want my WebObjects applications
placed in /Library/WebObjects/Applications. Instead I want them place
in /tmp/MyInstaller. So I would edit the "build.properties" file to
look like the following.
#Fri Dec 10 13:50:48 EST 2004
project.name=Tinker
classes.dir=build/classes
wo.wosystemroot=/tmp/MyInstaller
wo.wolocalroot=/tmp/MyInstaller
That should work. Again, I was running on OS X, so windows and Linux
systems I have no idea about but would expect to work the same.
Good Luck.
Mike Jackson
On Dec 11, 2004, at 6:25 AM, WOLips wrote:
> Hello Mike,
>
> do you know any site which explains how can I build WO App with ant
> from
> outside eclipse?
> or maybe you have already created such a document, I would like to
> have a
> look on it :)
>
> regards.
> Sako.
>
> ----- Original Message -----
> From: "Mike Jackson" <maillis..luequartz.net>
> To: <woproject-de..bjectstyle.org>
> Sent: Friday, December 10, 2004 9:26 PM
> Subject: Any Build Outside of Eclipse
>
>
>> Hello All.
>> In the process of switching from Xcode to Eclipse and have some
>> questions. I would like to build using Ant from outside of Eclipse as
>> I
>> have a shell script all ready to go that builds my application,
>> frameworks and libraries and then puts all that into a directory which
>> is then packaged up using package maker. The first hurdle is getting
>> Ant to run properly.
>> When I try "ant" from the command line I get the following:
>>
>> [mjackso..eryn:~/Projects/Tinker]$ ant
>> Buildfile: build.xml
>>
>> setProps:
>>
>> init.build:
>>
>> build.woapp:
>>
>> BUILD FAILED
>> /Users/mjackson/Projects/Tinker/build.xml:43: taskdef class
>> org.objectstyle.woproject.ant.WOApplication cannot be found
>>
>> Total time: 2 seconds
>>
>> I am using Ant 1.6.1 for the builds. I copied
>> org.objectstyle.wolips.ant_1.1.0.90.jar from the WOLipse Distribution
>> into the lib folder of the Ant distribution but that did not help
>> either. The ant build script works fine from within Eclipse so I am
>> not
>> sure what I am missing.
>>
>> Now once I get that working, how do I tell the build script that I
>> want
>> the WOApplication installed in "/tmp/AppInstallPackage" instead of
>> "/"?
>> I am on a Dev box and my deployment machine is some where else. I
>> usually create an installation package from this "temporary"
>> directory.
>>
>> Thanks
>> Mike Jackson
>>
>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Sat Dec 11 2004 - 10:23:29 EST