Re: xdoclet problem

jeusdi <[email protected]> Thu, 14 Sep 2006 03:50:00 -0700 (PDT)
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
I set 1.2.3 xdoclet version to eclipse

So, --> in
...workspace\ecommerce\.settings\org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs

C:\Documents and Settings\cabre.MICROSNET\workspace\ecommerce\.settings

#Thu Sep 14 11:26:11 CEST 2006
XDOCLETBUILDERACTIVE=true
XDOCLETHOME=C\:\\Archivos de programa\\XDoclet
XDOCLETUSEGLOBAL=true
XDOCLETVERSION=1.2.3
eclipse.preferences.version=1

and tempAnt.xml build file is -->

<project name="xdocletBuild" default="webdoclet" basedir=".">

   <!-- Init -->
   <target name="init">
      <property file="build.properties"/>

      <property name="web.dd.dir" value="${web.module.webinf}"/>
      <property name="xdoclet.force" value="true"/>
      <property name="container.type" value="web-war"/>
      
   	  <!-- Set up java.class.path -->
      <path id="project.class.path">
        <pathelement location="${web.project.dir}/${web.bin.dir}" />
        <pathelement path="${web.project.classpath}" />


     	<fileset dir="${ant.home}">
        	<include name="*/**/ant.jar"/>
      	</fileset>
        <fileset dir="${xdoclet.home}">
            	<include name="**/*.jar"/>
        </fileset>

        <!-- append the external classpath lastly -->
        <pathelement path="${java.class.path}" />
                
     </path>


   </target>

   <!-- Run EJBDoclet -->
   <target name="webdoclet" depends="init">

    <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask">
	<classpath refid="project.class.path"/>
	</taskdef>
            <webdoclet 
    		destdir="${web.module.webinf}"
    		mergedir="${web.module.webinf}"
    	        excludedtags="@version,@author,@todo"
    	        addedtags="@wtp generated"
    	        force="${xdoclet.force}"
    	        verbose="true" >
    	
    	          <!-- SERVLETS START -->
    	 	   <fileset dir="${web.project.dir}/${web.module.src}"
defaultexcludes="yes"> 
    	   	    	<include name="com/gmsoft/ControllerServlet.java" />
	                <include name="com/gmsoft/InitSession.java" />
    	 	   </fileset>
    	         <!-- SERVLETS END -->
           <deploymentdescriptor  useIds="true"
servletspec="${servlet.spec.version}" displayname="${web}"
validatexml="false" mergedir="${web.module.webinf}" />
   	</webdoclet>
   </target>
</project>

and build.properties file is -->

#WTP BUILD FILE PROPERTIES- UPDATED:Thu Sep 14 12:45:21 CEST 2006
#Thu Sep 14 12:45:21 CEST 2006
web.module.src=src
web.project.dir=C\:/Documents and
Settings/cabre.MICROSNET/workspace/ecommerce
xdoclet.home=C\:\\Archivos de programa\\XDoclet
web.bin.dir=build/classes
java.class.path=
ant.home=C\:\\Documents and
Settings\\cabre.MICROSNET\\Escritorio\\eclipse\\plugins\\org.apache.ant_1.6.5
web.module.gen=src
web=ecommerce
servlet.spec.version=2.4
web.module.webinf=C\:/Documents and
Settings/cabre.MICROSNET/workspace/ecommerce/WebContent/WEB-INF
web.project.classpath=C\:\\Documents and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\build\\classes;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\aspectjrt.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\commons-logging.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\dom.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\jaxen-full.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\jaxp-api.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\jdbc2_0-stdext.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\jstl.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\log4j-1.2.13.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\proxool-0.9.0RC2.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\sax.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\saxpath.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\standard.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\xalan.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\workspace\\ecommerce\\WebContent\\WEB-INF\\lib\\xercesImpl.jar;C\:\\Documents
and
Settings\\cabre.MICROSNET\\Escritorio\\eclipse\\plugins\\org.aspectj.runtime_1.5.2.20060629124300\\aspectjrt.jar;C\:\\Archivos
de programa\\Apache Software Foundation\\Tomcat
5.5\\common\\lib\\commons-el.jar;C\:\\Archivos de programa\\Apache Software
Foundation\\Tomcat 5.5\\common\\lib\\jasper-compiler-jdt.jar;C\:\\Archivos
de programa\\Apache Software Foundation\\Tomcat
5.5\\common\\lib\\jasper-compiler.jar;C\:\\Archivos de programa\\Apache
Software Foundation\\Tomcat
5.5\\common\\lib\\jasper-runtime.jar;C\:\\Archivos de programa\\Apache
Software Foundation\\Tomcat 5.5\\common\\lib\\jsp-api.jar;C\:\\Archivos de
programa\\Apache Software Foundation\\Tomcat
5.5\\common\\lib\\naming-factory-dbcp.jar;C\:\\Archivos de programa\\Apache
Software Foundation\\Tomcat
5.5\\common\\lib\\naming-factory.jar;C\:\\Archivos de programa\\Apache
Software Foundation\\Tomcat
5.5\\common\\lib\\naming-resources.jar;C\:\\Archivos de programa\\Apache
Software Foundation\\Tomcat 5.5\\common\\lib\\ojdbc14.jar;C\:\\Archivos de
programa\\Apache Software Foundation\\Tomcat
5.5\\common\\lib\\servlet-api.jar
-- 
View this message in context: http://www.nabble.com/xdoclet-problem-tf2259122.html#a6303416
Sent from the xdoclet-user forum at Nabble.com.


-------------------------------------------------------------------------
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