On 23-Jul-04, at 10:46 AM, David LeBer wrote:
>
> On 23-Jul-04, at 2:12 AM, Harald Niesche wrote:
>
>> Brendan Duddridge wrote:
>>
>>> Hi,
>>> Does anyone know how to get Eclipse 3.0 with WOLips to call
>>> EOGenerator before the build process starts?
>>
>> You can add your own build steps to a project's build process in the
>> Project's Properties on the Builders page. You can add it before or
>> after the JavaBuilder by sorting the items in the list ...
>>
>> Harald
>
> I'm using a modified version of Chuck Hill's "Generate EO's" build
> target
> <http://www.objectstyle.org/woproject/lists/woproject-dev/2003/10/
> 0023.html> with Eclipse 2.1.3 is this usable/advisable with Ecipse
> 3.0? I notice that the new build.xml file is considerably different.
I got EOGenerator working in Eclipse 3 by using Harald's suggestion.
Eclipse -> Project Menu -> Properties
Select Builders
Click "New..."
Select "Program" as the type and click "OK".
Enter your path to eogenerator in the "Location" field.
ie:
/Developer/Applications/eogenerator/eogenerator
Enter the appropriate arguments list in the "Arguments" field:
ie:
-model ${build_project}/oetker.eomodeld -destination
${build_project}/src/ca/oetker/foundation/ -subclassDestination
${build_project}/src/ca/oetker/foundation/ -templatedir
/Developer/Applications/eogenerator/ -javaTemplate
JavaSourceEOF5.eotemplate -subclassJavaTemplate
JavaSubclassSourceEOF5.eotemplate -define-copyrightYear 2004
-define-copyrightBy "Codebase Software Systems" -verbose -java
-define-EOSuperClass ca.oetker.foundation.CBEOBaseClass
Andrus,
No snub intended against WOGen, just a highly customized set of
templates, and a need for expediency :-)
;david
-- David LeBer Codebase Software Systems site: http://www.codebase.ca blog: http://david.codebase.ca
This archive was generated by hypermail 2.0.0 : Fri Jul 23 2004 - 12:14:22 EDT