On Jun 4, 2009, at 10:12 AM, kenlist..nderhome.com wrote:
> Nope - it's in there, otherwise it wouldn't build in Eclipse.
> Builds fine in Eclipse, but that doesn't get consulted for ANT.
> It's apparently completely independent.
Yeah, they're two totally different build systems.
You could add a second <wocompile> task to your build.xml file. I'm
just guessing here, but try:
<wocompile srcdir="GeneratedEOs" destdir="bin></wocompile>
Or just change your destination directory in the .eogen file to point
to "Sources" instead of "GeneratedEOs"
I hope this helps!
Dave
>
> Ken
>
> -----Original Message-----
> From: "David Avendasora" <webobject..vendasora.com>
> Sent: Thursday, June 4, 2009 10:06am
> To: woproject-de..bjectstyle.org
> Subject: Re: GeneratedEOs and build.xml
>
>
> On Jun 4, 2009, at 9:58 AM, kenlist..nderhome.com wrote:
>
>> All,
>>
>> We're working on building our frameworks and WARs completely through
>> ant. This mostly works, but we've one into one issue.
>>
>> Right now, all the frameworks have been built by Eclipse, not ant.
>> When we try to build our model framework, we have a problem because
>> we're using the old style of putting the underscore files in
>> GeneratedEOs, not Sources.
>>
>> The build.xml file's wocompile task just has this:
>>
>> <wocompile srcdir="Sources" destdir="bin">
>>
>> which of course doesn't know where to find GeneratedEOs.
>>
>> What's the right approach here? Should we get rid of GeneratedEOs,
>> or is there a way to get wocompile to understand Sources &
>> GeneratedEOs ?
>
> Does it work if you add the "GeneratedEOs" directory to the "Source"
> tab of the Build Path of your project? (Properties -> Java Build
> Path -
>> Source -> Add Folder)
>
> Dave
>
>
>
>
>
This archive was generated by hypermail 2.0.0 : Thu Jun 04 2009 - 10:26:27 EDT