And where can I do that?
Thanks,
Ken
-----Original Message-----
From: "David Holt" <programmingos..ac.com>
Sent: Thursday, June 4, 2009 12:07pm
To: woproject-de..bjectstyle.org
Subject: Re: GeneratedEOs and build.xml
On 4-Jun-09, at 8:51 AM, kenlist..nderhome.com wrote:
> David,
>
> If I add an additional wocompile task, they don't know about each
> other and the compiler can't find the classpaths properly.
>
> I'm thinking the best thing to do is move the underscore classes
> into the Sources dir. I remember there's a way to hide those files
> in the tree view, but I forget how. Do you remember?
Set the filters:
David
>
> Thanks,
> Ken
>
> -----Original Message-----
> From: "David Avendasora" <webobject..vendasora.com>
> Sent: Thursday, June 4, 2009 10:25am
> To: woproject-de..bjectstyle.org
> Subject: Re: GeneratedEOs and build.xml
>
>
> 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 - 12:24:58 EDT