Hi folks
Firstly, thanks for making & providing WOLips/WOProject - I think it will
make developing WO projects on Windows less painful. I have a few questions
about using it if you don't mind; I'm coming up against some problems using
it that I can't imagine no-one else has seen, but I can't find much
documentation about it.
1. When I'm working on a project and build it in the 'dist' directory, and
then try to open the EOModel in EOModeler, I get the EOModeler error
"Illegal attempt to add model named 'BLAH' more than once". So I tried
modifying build.xml so that it builds the application in (e.g.) c:\wobuilds,
and when it does that EOModeler will open the EOModel copied there, but
still won't open the original one in c:\eclipse\workspace\etc.
I've given up trying to work out why EOModeler won't open models even when
I've deleted all but one copy and a filesystem search shows only that one
copy on the whole system; I think I'll have to work round it. I'm guessing
that, as I'm coming up against this problem without doing anything special
other than simply creating application and framework projects using WOLips
and starting work, other people have probably had similar problems. If so,
please could you tell me the best way to work round it? If not, have you any
suggestions for finding out what I'm doing wrong or for the best way to work
with WOLips in this regard?
2. When working on a framework, is it best to use Incremental build or Ant?
It seems to be constantly building and causing the same problem with
EOModeler as in 1, and when I switch from one to the other or try to build
in paths such as ${wo.localroot}(etc) I sometimes get directories created
actually called "${wo.localroot}" etc. I guess these are Ant-related
problems, but please do you have any tips / pointers to docs or something to
demonstrate the best thing to do here?
3. WOGen: I have the following in a framework's build.xml:
<taskdef name="wogen"
classname="org.objectstyle.woproject.ant.WOGenerator">
<classpath />
</taskdef>
<target name="makeEOs">
<wogen map="BLAH.eomodeld"
destDir="src/path/to/package/for/model"/>
</target>
which gives me the following error:
makeEOs:
[wogen] Error generating classes.
[wogen] BUILD FAILED:
file:C:/eclipse/workspace/BLAHFramework/build.xml:17: Error generating
classes.
Total time: 188 milliseconds
EOModeler itself generates the classes from the same model with no problem
but I want to use a 'generation gap'.
The taskdef and target are copied verbatim from another build.xml (for a WO
application) which works fine, only the path/names have been changed. "Error
generating classes" doesn't give me much help - should I be looking for
problems in the model (which seems OK to me)? Filesystem? Something else?
Thanks for taking the time.
Bests
Igor Clark.
This archive was generated by hypermail 2.0.0 : Thu Oct 30 2003 - 04:57:32 EST