--- dr_pompeii <[EMAIL PROTECTED]> wrote: > > hi Konstantin > > thanks again for your time > > >>Current version under development ( and in maven > >>repository ) is 1.0.4-SNAPSHOT. This is not yet > >>realease because I lack a time and knowlege to fix > >>maven 2 build. ( help is welcome ) > sadly i must to say, i dont know nothing of maven > :-( > and my boss have a gun, and now i have this problem > with xdoclet2/ant
OK, it appears that you are writing on a wrong list, because this is a list for XD1, and as you may see project is not overcrowded with developers. ( Neither is XD2 ) - but I'm watching both lists anyway. > well after read the information, like > http://www.hibernate.org/284.html, i try do use the > example configuration > and well > i used to work only with ant, and i have the > xdoclet-plugins-1.0.3.tar.gz, the last version since > 2005 There has been a lot of changes since then. You may get latest versions of whatever is necessary if you build it from source ( check out xdoclet-plugins from http://www.sourceforge,net/projects/xdoclet-plugins and then ( provided you got maven 2 from maven.apache.org ) just type: mvn install and everything will be downloaded to your local repository you may also use maven tasks for ant ( also from maven.apache.org ) which will download dependencies for you. > here my build.xml > > > <project name="manoloTest" basedir="." > default="hibernate" > > <property name="xdoclet2.lib.dir" > value="${basedir}/MyLib/xdoclet2/lib"/> > <target name="xdoclet2"> > <mkdir > dir="${basedir}/target/xdoclet2/persistence"/> > <path id="xdoclet2.task.classpath"> > <!-- Add the xdoclet2 plugins jar here > --> > <pathelement > location="${xdoclet2.lib.dir}/../plugins/xdoclet-plugin-hibernate-1.0.jar"/> > <!-- <pathelement > location="${xdoclet2.lib.dir}/"/> > --> > <pathelement > location="${xdoclet2.lib.dir}/xdoclet-2.0.4.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/generama-1.2.1.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/nanocontainer-ant-1.0-beta-3.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/nanocontainer-1.0-beta-3.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/picocontainer-1.0.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/qdox-20051211.114207.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/velocity-1.4.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/commons-jelly-20050813.225330.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/commons-jelly-tags-define-1.0.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/commons-jelly-tags-jsl-1.0.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/commons-jelly-tags-xml-20050823.222913.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/commons-beanutils-1.7.0.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/commons-collections-3.1.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/commons-jexl-1.0.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/commons-logging-1.0.4.jar"/> > > <pathelement > location="${xdoclet2.lib.dir}/dom4j-1.6.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/jaxen-1.1-beta-4.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/saxpath-1.0-FCS.jar"/> > <pathelement > location="${xdoclet2.lib.dir}/xerces-2.4.0.jar"/> > > </path> > > <taskdef name="xdoclet2" > classname="org.xdoclet.ant.XDocletTask" > > classpathref="xdoclet2.task.classpath" /> > </target> > <target name="hibernate" depends="xdoclet2"> > <xdoclet2> > <!-- defines the file handled by > xdoclet2 --> > <fileset dir="${basedir}/src"> > <include name="**/*.java"/> > </fileset> > > <!-- defines the processing of a > plugin --> > <component > > classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin" > destdir="${basedir}/src" > version="3.0" > /> > </xdoclet2> > </target> > </project> > > > if i excute ant hibernate , i recieve this error > > > /WEB-INF/build.xml:37: Class Not Found: Classloader > URLs (classpath): > > well the line is <xdoclet2> It looks ok, but you will nead more recent versions of jars ( I'm using maven and I can not tell all the versions - I just state that I use maven2 plugin in version 2.0.6 and it gets everything necessary automatically... Try to enable debug output, then you will see which class is not found. regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user