• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOCompile cannot be found.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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

References: 
 >WOCompile cannot be found. (From: Douglas Andrews <email@hidden>)
 >Re: WOCompile cannot be found. (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: app deployment on el capitan [SOLVED]
  • Next by Date: Re: Maven builds and WOBootstrap.jar
  • Previous by thread: Re: WOCompile cannot be found.
  • Next by thread: Vector graphics in Flying Saucer / ERPDFWrapper
  • Index(es):
    • Date
    • Thread