I'm using WOLips 3.3.4627 on Eclipse 3.3.2. I have _Entity.java and
Entity.java installed in ~/Library/Application Support/WOLips/
EOGenerator.
Here is what happens when use the text editor to manually edit the
command line in my .eogen file:
If I change "-javaTemplate _Entity.java" to "_xEntity.java" and
attempt to regenerate the java files I get an error message: "Unable
to find resource '_xEntity.java'"
However, if I change -templatedir from the path given above ("~"
expanded) by replacing EOGenerator with xEOGenerator (a directory that
does not exist) and regenerate my java files, the regeneration runs
without error and the _*.java files are created.
In other words, EOGenerator appears to be looking for the template
files in a location other than the one I have specified.
Restarting Eclipse has no effect. Deleting the generated _*.java files
has no effect. The WOLips/EOGenerator panel in Eclipse preferences is
blank. I have searched for updates to WOLips using "Software Update/
Find and Install..." and I find none.
Where do I go from here?
Thanks
Tom
On Dec 16, 2007, at 10:17 AM, Mike Schrag wrote:
> You need to either put the template file in one of the paths that
> VeloEOGen looks in by default (~/Library/Application Support/WOLips/
> EOGenerator/_Entity.java, among a couple others); or inside your
> eogen file you need to set template path to the _folder containing_
> _Entity.java, and if it's named something other than _Entity.java,
> you need to also set template name. Note that template name is ONLY
> a name, not a full path. Also, make sure you're using a somewhat
> recent (meaning more recent than about two weeks old) because there
> was a bug a couple weeks ago about overriding path. Personally I
> would recommend doing the ~/Library/App.. folder -- it's less pain.
>
> ms
>
> On Dec 16, 2007, at 6:47 AM, Tom Woteki wrote:
>
>> Yes I have an eogen file. I have described what happens when I
>> right click on it. That is, EOGenerate is not picking up the
>> changes I made to _Entity.java.
>>
>> Tom
>>
>>
>> On Dec 15, 2007, at 11:17 PM, John Huss wrote:
>>
>>> Do you have an .eogen file? If so, you can right-click it and
>>> select "EOGenerate". Otherwise the generator runs whenver the
>>> model is saved.
>>>
>>> John
>>>
>>> On Dec 15, 2007 7:06 PM, Tom Woteki < drw..oteki.com> wrote:
>>> Hi:
>>>
>>> I am using EOGenerate with Velocity templates. I generated using the
>>> stock versions of _Entity.jav and Entiry.java. Now I have made some
>>> changes to _Entity but the changes are not recognized.
>>>
>>> I have:
>>> - quit Eclipse and restarted
>>> - deleted the original generated .java files then regenerated
>>> - logged out and back in
>>> - pointed the "Template" field in xxx.eogen to a renamed version of
>>> _Entity.java
>>> - etc ad nauseam
>>>
>>> Nothing I do seems to have an effect. The _xxx.java files that are
>>> generated are always the same as the very first generation.
>>>
>>> What do I need to do for the changes to be processed?
>>>
>>> Thanks
>>> Tom
>>>
>>>
>>
>
This archive was generated by hypermail 2.0.0 : Fri Dec 21 2007 - 06:56:24 EST