Using "ant install" will not create .class files in the bin directory.
You need to compile your project with Eclipse first to have the .class
files.
Dominique
> -----Original Message-----
> From: Geoff Hopson [mailto:ghopso..ac.com]
> Sent: Thursday, September 08, 2005 2:49 PM
> To: woproject-de..bjectstyle.org
> Cc: woproject-de..bjectstyle.org
> Subject: Re: Command line build
>
>
> I use Eclipse and WOLips on Linux, and have this script that
> I use to tar everything up and scp it to my deployment box
> (again, Linux). YMMV...
>
> #!/bin/sh
> #
> # Build deployments
>
> # tidy up before you...
> cd /home/Apple/Local
> rm -rf Library/Frameworks/framework1.framework
> rm -rf Library/Frameworks/framework2.framework
> rm -rf Library/WebObjects/Applications/Application1.woa
> rm -rf Library/WebObjects/Applications/Application2.woa
> # now build
> cd ~/Work/workspace;
> ant -f framework1/build.xml clean;
> ant -f framework2/build.xml clean;
> ant -f Application1/build.xml clean;
> ant -f Application2/build.xml clean;
>
> ant -f framework1/build.xml install;
> ant -f framework2/build.xml install;
> ant -f Application1/build.xml install;
> ant -f Application2/build.xml install;
>
> # tar it all up...
> cd /home/Apple/Local
> tar cfz /tmp/deployment_`date +"%Y%m%d"`.tgz \
> Library/Frameworks/framework1.framework \
> Library/Frameworks/framework2.framework \
> Library/WebObjects/Applications/Application1.woa \
> Library/WebObjects/Applications/Application2.woa
>
> # tidy up after you...
> cd /home/Apple/Local
> rm -rf Library/Frameworks/framework1.framework
> rm -rf Library/Frameworks/framework2.framework
> rm -rf Library/WebObjects/Applications/Application1.woa
> rm -rf Library/WebObjects/Applications/Application2.woa
>
> # copy it over to host
> scp /tmp/deployment_`date +"%Y%m%d"`.tgz
> aUse..ost:/home/aUser/Work/Releases
>
>
>
> On the remote end, I unpack it in the Releases directory,
> which creates a Folder called Library/....
>
> Then I have a bunch of softlinks in /home/Apple/Local/Library
> to the frameorks and applications, softlinks from the
> webserver to the webserverresoources in the application
> folders. ALl nice and easy. For me.
>
> HTH,
> Geoff
>
>
> On Thursday, September 08, 2005, at 01:32PM, Schoenenberger
> Dominique <dominique.schoenenberge..agra.com> wrote:
>
> >
> ><<Original Attached>>
>
This archive was generated by hypermail 2.0.0 : Thu Sep 08 2005 - 09:04:33 EDT