Re: WOCompile cannot be found.
Re: WOCompile cannot be found.
- Subject: Re: WOCompile cannot be found.
- From: Paul Hoadley <email@hidden>
- Date: Fri, 20 Nov 2015 10:16:37 +1030
Hi Douglas,On 19 Nov 2015, at 11:11 pm, douglas andrews < email@hidden> wrote:
The problem was resolved by not using the -lib argument at all. I added the -classpath variable instead and that seemed to work.
In the <target name="compile" depends="init.properties"> portion, my tasked now looks like this:
<taskdef name="wocompile" classpath="/home/ec2-user/org.objectstyle.wolips.woproject.ant_3.4.5830/lib/woproject.jar" classname="org.objectstyle.woproject.ant.WOCompile" />
Thanks for that—it got me one step closer and enabled me to uncover the underlying problem with my situation:
…build.xml:90: Class not found: javac1.8
Googling _that_ uncovered that Ant 1.8.3 isn’t compatible with a 1.8 JDK. I was only using 1.8.3 because that’s what ‘yum install ant’ gives you on Amazon Linux. Removing that and replacing it manually with 1.9.6 made the entire problem vanish: I could pull that classpath attribute on the taskdef element, revert to using -lib on the command line, and the project builds again.
Could this be your root problem as well? What happens if you upgrade Ant to 1.9.6?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden