Hello!
After I run ant , this is what I get: Buildfile: build.xml
middlegen:
[middlegen] log4j:WARN No appenders could be found for logger (middlegen.Middleg
en).
[middlegen] log4j:WARN Please initialize the log4j system properly.
BUILD FAILED
C:\java\hiberTools\middlegen\build.xml:48: Could not create type middlegen due t
o java.lang.NoClassDefFoundError: middlegen/javax/JavaPlugin
I know that ANT can see middlegen-2.0-vo.jar, because if I REMOVE the path to this file from build.xml, ant dipslays this:
BUILD FAILED
C:\java\hiberTools\middlegen\build.xml:16: taskdef class middlegen.MiddlegenTask
cannot be found
So! Ant can see the TASKDEF of MIDDLEGEN, but it can not go deeper into the middlegen jar file to see javax/JavaPlugin.class ?? I have tried extracting the Jar, copying the JavaPlugin.class file intto the source dir and so on.
I am running Middlegen 2.0 and Widows 2000 (patched).
I would appreceate any suppor in this matter.
Below I include the build file:
----------------------------<<<<<<<<<<<<BUILD.XML>>>>>>>>>>>>>>>>--------------------------------
<project name="krzysiek" default="middlegen" basedir="."> <target name="middlegen" description="Run Middlegen" unless="middlegen.skip"
<mkdir dir="src"/>
<echo message="${.}"/><echo message="${basedir}\middlegen.jar"/><taskdef name="middlegen" classname="middlegen.MiddlegenTask" > <classpath>
<pathelement path="C:\\java\\hiberTools\\middlegen\\jdbc-2.0.jar" />
<pathelement path="C:\\java\\hiberTools\\middlegen\\middlegen-hibernate-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\middlegen\middlegen-entitybean-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\middlegen\middlegen-struts-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\middlegen\middlegen-html-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\middlegen\middlegen-jdo-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\middlegen\middlegen-struts-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\middlegen\middlegen-servlet-plugin-2.0-vo.jar" />
<pathelement path="C:\java\hiberTools\junit\junit.jar" />
<pathelement path="C:\java\hiberTools\log4j\dist\lib\log4j-1.2.8.jar" />
<pathelement path="C:\java\hiberTools\velocity\velocity-1.4.jar" />
<pathelement path="C:\java\hiberTools\commons\commons-collections-3.0.jar" />
</classpath>
</taskdef>
<echo message="${basedir}"/>
<middlegen appname="test1" prefsdir="srcdir" gui="true" databaseurl="jdbc:postgresql://www.support-online.pl/palm" driver="org.postgresql.Driver" username="palm" password="">
<!-- Plugins -->
<hibernate
destination="builddir"
package="generated.hibernate"
javaTypeMapper="middlegen.plugins.hibernate.HibernateJavaTypeMapper"
/></middlegen> <mkdir dir="classes"/> </target>
</project> ---------------------------------------------<<<<<<<<<<<<>>>>>>>>>>>>>>-----------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user
