Hi Douglas, On 19 Nov 2015, at 11:11 pm, douglas andrews <[email protected]> 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? -- Paul Hoadley http://logicsquad.net/
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
