ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Finger" <mfin...@SVTECHNOLOGY.com>
Subject RE: Major frustration.
Date Thu, 12 Jun 2003 23:32:43 GMT
Gerald
This might sound a little odd, but have you tried running your scripts on a different machine?
I had a pound - my - head - on - the - desk issue awhile back and it turned out I had an outdated
jar in my machine classpath that was screwing me up.. When I tried my script on someone elses
machine i got compiler errors right away, added the right jar  to my build scripts, and wala...

Mike

-----Original Message-----
From: Gerald D. Anderson [mailto:gander@vte.com]
Sent: Thursday, June 12, 2003 4:27 PM
To: Ant Users List
Subject: Re: Major frustration.


Again no luck. . .*shakes head*.  Here's the latest and greatest.  Same 
thing, ejbdoclettask runs, webdoclettask won't.  Same error at same 
place (in the <webdoclet * > tag).  

Bill. . .always good advice, thank you ; )  Fortunately I didn't have a 
choice, I had to put it down for a moment right about then.

Anybody else want to take a swing at this?  Any of you developers have 
any idea?  (apologies if anybody who has already responded is a 
developer) I guess I'm about to give up the ghost and go start creating 
xml files (*puke*). . .can't put off this milestone much longer.

Added below a complete verbose log of the build.

Thanks again all,

G


    <target name="Generate XDoclet" depends="Prepare Build">
        <taskdef name="ejbdoclet"
            classname="xdoclet.modules.ejb.EjbDocletTask"
            classpathref="xdoclet.path"
        >
        </taskdef>

        <ejbdoclet
            destdir="${build.generate.dir}"
            excludedtags="@version,@author"
            ejbspec="2.0"
            mergedir="${src.etc.dir}/xdoclet"
            force="${xdoclet.force}"
        >

            <fileset dir="${src.dir}">
                <include name="edu/**/*.java"/>
            </fileset>

            <!--
                Have XDoclet do:  web.xml, the jboss DDs
                and add more if need
            -->
            <!--<deploymentdescriptor destdir="${build.dir}/META-INF"/> -->

            <jboss version="${jboss.version}"
                xmlencoding="UTF-8"
                typemapping="${type.mapping}"
                datasource="${datasource.name}"
                destdir="${build.dir}/META-INF"
                validateXml="false"
            />
        </ejbdoclet>

      </target>

    <target name="Generate XDoclet2" depends="Generate XDoclet">

        <taskdef
            name="webdoclet"
            classname="xdoclet.modules.web.WebDocletTask"
            classpathref="xdoclet.path"
            />

        <webdoclet
            destdir="${build.dir}"
            mergedir="parent-fake-to-debug"
            excludedtags="@version,@author,@todo"
            force="${xdoclet.force}"
            verbose="false"
            >

            <fileset dir="${src.servlet.dir}">
                <include name="**/*.java"/>
            </fileset>


            <deploymentdescriptor destdir="${build.dir}/WEB-INF"/>

            <jbosswebxml
                destdir="${build.dir}/WEB-INF"
                />

            <jsptaglib
                destdir="${build.dir}/WEB-INF/tlds"
                uri="cms-taglib"
                shortName="huh"
                />
        </webdoclet>
    </target>


[***START BUILD LOG***]
/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/jre/bin/java -Xmx128M 
-Djava.home=/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/jre -classpath 
/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/jre/lib/tools.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib/idea_rt.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib/ant.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib/optional.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib//rt/xerces1.jar

com.intellij.rt.ant.execution.AntMain -logger 
com.intellij.rt.ant.execution.IdeaAntLogger -verbose 
-Dbuild.compiler.emacs=true -buildfile 
/home/gander/work/IdeaProjects/Cox/CoxPortal/build.xml Build CMS
build.xml
Check Environment
antcall
check-cms
available
antcall
wrong-cms
antcall
check-academic
available
antcall
wrong-academic
Build CMS
ant
Check Environment
antcall
check-jboss
available
antcall
wrong-jboss
antcall
check-ejb-jar
antcall
check-jakarta-logging-jar
antcall
check-jboss-version
antcall
check-log4j-jar
Prepare Build
echo
user.home = /home/gander
echo
java.home = /home/gander/usr/opt/IntelliJ-IDEA-3.0.4/jre
echo
ant.home = /home/gander/usr/opt/IntelliJ-IDEA-3.0.4
echo
jboss.home = /home/gander/usr/opt/jboss
echo
xdoclet.home = /home/gander/usr/opt/xdoclet
echo
java.class.path = 
/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/jre/lib/tools.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib/idea_rt.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib/ant.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib/optional.jar:/home/gander/usr/opt/IntelliJ-IDEA-3.0.4/lib//rt/xerces1.jar
echo

available
Generate XDoclet
taskdef
ejbdoclet
Running <jboss/>
Generating jboss.xml.
Generating jbosscmp-jdbc.xml.
INFO:    Some classes refer to other classes that were not found among 
the sources or on the classpath.
         (Perhaps the referred class doesn't exist? Hasn't been 
generated yet?)
         The referring classes do not import any fully qualified classes 
matching these classes.
         However, since no packages are imported, xjavadoc has assumed 
that the referred classes
         belong to the same package as the referring class. The classes are:
edu.smu.cox.cms.entity.util.CMSBaseLocal --> EJBLocalObject qualified to 
EJBLocalObject
edu.smu.cox.cms.entity.pages.PageletHomeLocal --> EJBLocalHome qualified 
to EJBLocalHome
edu.smu.cox.cms.session.pages.PageManagerHomeRemote --> EJBHome 
qualified to EJBHome
edu.smu.cox.cms.session.pages.PageManagerRemote --> EJBObject qualified 
to EJBObject
Generate XDoclet2
taskdef
webdoclet
Make sure the jar file containing the webdoclet class is on the 
classpath specified in the <taskdef> that defined {2}. These classes are 
needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
/home/gander/work/IdeaProjects/Cox/CoxPortal/cms/build.xml:275: 
Unexpected error
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
Caused by: Make sure the jar file containing the webdoclet class is on 
the classpath specified in the <taskdef> that defined {2}. These classes 
are needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    ... 14 more
--- Nested Exception ---
Make sure the jar file containing the webdoclet class is on the 
classpath specified in the <taskdef> that defined {2}. These classes are 
needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
/home/gander/work/IdeaProjects/Cox/CoxPortal/cms/build.xml:275: 
Unexpected error
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
Caused by: Make sure the jar file containing the webdoclet class is on 
the classpath specified in the <taskdef> that defined {2}. These classes 
are needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    ... 14 more
--- Nested Exception ---
Make sure the jar file containing the webdoclet class is on the 
classpath specified in the <taskdef> that defined {2}. These classes are 
needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
/home/gander/work/IdeaProjects/Cox/CoxPortal/cms/build.xml:275: 
Unexpected error
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
Caused by: Make sure the jar file containing the webdoclet class is on 
the classpath specified in the <taskdef> that defined {2}. These classes 
are needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    ... 14 more
--- Nested Exception ---
Make sure the jar file containing the webdoclet class is on the 
classpath specified in the <taskdef> that defined {2}. These classes are 
needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
/home/gander/work/IdeaProjects/Cox/CoxPortal/cms/build.xml:275: 
Unexpected error
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
Caused by: Make sure the jar file containing the webdoclet class is on 
the classpath specified in the <taskdef> that defined {2}. These classes 
are needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    ... 14 more
--- Nested Exception ---
Make sure the jar file containing the webdoclet class is on the 
classpath specified in the <taskdef> that defined {2}. These classes are 
needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
/home/gander/work/IdeaProjects/Cox/CoxPortal/cms/build.xml:275: 
Unexpected error
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)
Caused by: Make sure the jar file containing the webdoclet class is on 
the classpath specified in the <taskdef> that defined {2}. These classes 
are needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    ... 14 more
--- Nested Exception ---
Make sure the jar file containing the webdoclet class is on the 
classpath specified in the <taskdef> that defined {2}. These classes are 
needed in order to generate correct output.
    at xdoclet.DocletTask.checkClass(DocletTask.java:501)
    at 
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:22)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
    at org.apache.tools.ant.Task.perform(Task.java:319)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    at com.intellij.rt.ant.execution.AntMain.runBuild(AntMain.java:493)
    at com.intellij.rt.ant.execution.AntMain.start(AntMain.java:166)
    at com.intellij.rt.ant.execution.AntMain.main(AntMain.java:191)

Build completed with 23 errors and 7 warnings. Time: 9 s


W. Sean Hennessy wrote:

>Would it be possible to isolate each of ejbdoclet and webdoclet elements
>in separate targets something like?
>
>
><target name="gen.xdoc1.tgt.nm" depends="prep.bld.tgt.nm"
>  description="Generate XDoclet Part1" >
>   <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask">
>      <classpath refid="xdoclet.path"/>
>   </taskdef>
>
>   <!-- [****EJBDOCLETTASK WORKS***] -->
>   <ejbdoclet  
>      destdir="${build.generate.dir}"
>      excludedtags="@version,@author"
>      ejbspec="2.0"
>      mergedir="${src.etc.dir}/xdoclet"
>      force="${xdoclet.force}"
>   >
>
>      <fileset dir="${src.dir}">
>         <include name="edu/**/*.java"/>
>      </fileset>
>
>      <!--<deploymentdescriptor destdir="${build.dir}/META-INF"/> -->
>
>      <jboss version="${jboss.version}"
>         xmlencoding="UTF-8"
>         typemapping="${type.mapping}"
>         datasource="${datasource.name}"
>         destdir="${build.dir}/META-INF"
>         validateXml="false"
>      />
>    </ejbdoclet>
></target>
>
><target name="gen.xdoc2.tgt.nm" depends="gen.xdoc1.tgt.nm"
>  description="Generate XDoclet Part 2" >
>  <!-- [*****WEBDOCLETTASK DOES NOT WORK] -->
>  <taskdef  
>     name="webdoclet"
>     classname="xdoclet.modules.web.WebDocletTask"
>     classpathref="xdoclet.path
>  />
>
>
>  <webdoclet
>      destdir="${build.dir}"
>      mergedir="parent-fake-to-debug"
>      excludedtags="@version,@author,@todo"
>      force="${xdoclet.force}"
>      verbose="false"
>   >
>      <fileset dir="${src.servlet.dir}">
>         <include name="**/*.java"/>
>      </fileset>
>      <deploymentdescriptor destdir="${build.dir}/WEB-INF"/>
>
>      <jbosswebxml
>         destdir="${build.dir}/WEB-INF"
>      />
>
>      <jsptaglib
>         destdir="${build.dir}/WEB-INF/tlds"
>         uri="cms-taglib"
>         shortName="shortname"
>      />
>      </webdoclet>
>      <echo>Completed successfully!</echo>
>
></target>
>
>-----Original Message-----
>From: Bill Chmura [mailto:Bill@Explosivo.com]
>Sent: Thursday, June 12, 2003 11:45 AM
>To: 'Ant Users List'
>Subject: RE: Major frustration.
>
>
>
>On a non-technical note:  Have you tried walking away from it for a
>little bit?  Seriously I cannot count the number of times a solution
>came to me after smashing the mouse down on the desk and walking away
>for awhile.
>
>
>
>
>-----Original Message-----
>From: Gerald D. Anderson [mailto:gander@vte.com] 
>Sent: Thursday, June 12, 2003 2:38 PM
>To: Ant Users List
>Subject: Re: Major frustration.
>
>
>Thanks for the response. . .no joy, no change. 
>Changes I made. . .
>
><taskdef name="ejbdoclet"
>            classname="xdoclet.modules.ejb.EjbDocletTask"
>            classpathref="xdoclet.path"
>        >
>
>So now the ejbdoclet uses the classpathref also.  (the webdoclettask had
>
>originally used the old way as well, the classpathref was an attempted 
>solution).
>
>Also, just out of desperation tried switching to Sun's J2SE 1.4.1_02. . 
>.no luck there either.
>
>*tears up*
>
>G
>
>
>
>Mike wrote:
>
>  
>
>>Perhaps a nuance between the ejbDocklet
>><classpath refid="xdoclet.path"/> subelement and the webdoclet 
>>classpathref="xdoclet.path" attribute?
>>
>>Ant docs show that you do have it correctly, but it may be worth 
>>playing with to see if you get a variation in the errors (or it 
>>working.)
>>
>>You may look at line 270 of your build.xml file for context.  It's the 
>>source of your original exception and you might get a hint there....
>>
>>-Mike
>>
>> 
>>
>>    
>>
>>>        <taskdef name="ejbdoclet" 		 
>>>classname="xdoclet.modules.ejb.EjbDocletTask">
>>>            <classpath refid="xdoclet.path"/>
>>>        </taskdef>
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>>>         <taskdef  [*****WEBDOCLETTASK DOES NOT WORK]
>>>            name="webdoclet"
>>>            classname="xdoclet.modules.web.WebDocletTask"
>>>            classpathref="xdoclet.path"
>>>            /> [***Straight from the examples build.xml]
>>>
>>>   
>>>
>>>      
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>> 
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message