abc def
2002-05-11 16:42:05 UTC
Hello middlegen gurus,
I have been struggling with compiling middlegen.
I could get the middlegen/build.xml to compile before (and the latest CVS
ones compile no problem). But samples/build still has problems.
0. I started to use ant_1.4.1 . The docs/ant.html seems to suggest using
samples/lib/ant.jar. But isn't ant_1.4.1 sufficient (this is the latest
available one, 1.5 is beta)? If ant_1.4.1 isn't sufficient, how do I start
ant from a jar file only (like
java -D....... middlegen )?
1. Target middlegen complains "taskdef class middlegen.MiddlegenTask cannot
be found". The latest samples/build appends java.class.path to classpath of
samples/lib/*.jar files, hence I assume CLASSPATH env variable at the
commandline that "ant middlegen" is issued should have "..\build\classes".
But still don't compile.
2. The target create-database seems to be missing following 2 lines:
<target name="create-database" description="Create database">
<property name="gotclasspath" refid="classpath"/> <!-- baseAdd -->
<sql
................
classpath="${gotclasspath}" <!-- this one -->
onerror="continue" <!-- and this -->
/>
3. Is following part of samples/build.xml really handled in the code ?
Because I didn't see create for it.
<cmp20
package="${name}.ejb"
jndiprefix="${unique.name}"
generatepk="false"
/>
I wish I could start using middlegen, rather than trying to start it up.
(Part of my suffering might be due to me being relatively new to ant)
Regards,
-- ilker
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
I have been struggling with compiling middlegen.
I could get the middlegen/build.xml to compile before (and the latest CVS
ones compile no problem). But samples/build still has problems.
0. I started to use ant_1.4.1 . The docs/ant.html seems to suggest using
samples/lib/ant.jar. But isn't ant_1.4.1 sufficient (this is the latest
available one, 1.5 is beta)? If ant_1.4.1 isn't sufficient, how do I start
ant from a jar file only (like
java -D....... middlegen )?
1. Target middlegen complains "taskdef class middlegen.MiddlegenTask cannot
be found". The latest samples/build appends java.class.path to classpath of
samples/lib/*.jar files, hence I assume CLASSPATH env variable at the
commandline that "ant middlegen" is issued should have "..\build\classes".
But still don't compile.
2. The target create-database seems to be missing following 2 lines:
<target name="create-database" description="Create database">
<property name="gotclasspath" refid="classpath"/> <!-- baseAdd -->
<sql
................
classpath="${gotclasspath}" <!-- this one -->
onerror="continue" <!-- and this -->
/>
3. Is following part of samples/build.xml really handled in the code ?
Because I didn't see create for it.
<cmp20
package="${name}.ejb"
jndiprefix="${unique.name}"
generatepk="false"
/>
I wish I could start using middlegen, rather than trying to start it up.
(Part of my suffering might be due to me being relatively new to ant)
Regards,
-- ilker
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com