On Thu, 2004-10-21 at 16:03, boutin wrote:
> I've begun to find a solution.
> 
> In the lib directory was missing xjavadoc-1.1.jar file and the get
> action of the xdoclet build.xml file download the 1.0.3 file which
> seems to be deprecated. 

xdoclet 1.2.2 and the current CVS version use the later 1.1 release of
xjavadoc.  1.2.1 was built against xjavadoc 1.0.3, though, so as you're
building 1.2.1 from source then that's the one you should be using.  In
fact, since various deprecated classes were removed in xjavadoc 1.1, I
wouldn't guarantee 1.2.1 would still build against it; it might do,
depending on when xdoclet stopped using those classes, but it's not
something we've tested.

> So the thing I've done is to before launching the compilation, copy
> the xjavadoc-1.1.jar file inside the lib directory (this file come
> with the xjavadoc source package)
> 
> Moreover, the Maven product needs to be installed, else you've got a
> build failed when you launch ant clean dist

We use Maven to generate the documentation and web site.  Without it,
you should still be able to build the various core & module jars,
though.  Do you have anything in the target/lib directory once it's
failed?

> Somebody can confirm ?
> 
> Regards,
> Denis Boutin.
> 
> 
> boutin wrote: 
> > I'd tried with ant 1.5.4, 1.5.2 & 1.5.1 but none of them work here.

I used JDK 1.4.2_04 and Ant 1.5.3 (the original one that includes the
junit jar, not the later 1.5.3-1 build that dropped it) to do the
xjavadoc 1.0.3 and xdoclet 1.2.1 releases, on both Linux and Windows
(the tgzs were built on Linux, the zips on Windows).  I can't remember
exactly which version of Maven I was using at that time, but it must
have been one of the betas or release candidates as our release was
before the Maven rc3 release.  I think it might have been beta 9.


Andrew.

> > :'(
> > Have you got any other solutions ?
> > 
> > Regards,
> > Denis.
> > 
> > 
> > Rupp, Heiko wrote: 
> > > Can you try with ant 1.5.1 ? THere are/were rumours, that ant 1.6
> > > won't work.
> > > 
> > > __________________________________________________________________
> > > Von: [EMAIL PROTECTED] im Auftrag von
> > > boutin
> > > Gesendet: Do 21.10.2004 12:06
> > > An: [EMAIL PROTECTED]
> > > Betreff: [Xdoclet-user] XDoclet 1.2.1 compilation error with linux
> > > / jdk 1.4.1 / ant 1.6
> > > 
> > > 
> > > 
> > > Hello,
> > > 
> > > I'm trying to compile XDoclet1.2.1 on linux with jdk1.4.1 and ant
> > > 1.6,
> > > however I've got the following error :
> > > 
> > > <<
> > > xdoclet-xml:
> > >      [echo] xdoclet-xml.dir :
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/build/xdoclet/classes/META-INF
> > >      [echo] module.src.dir :
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/xdoclet/src
> > >     [mkdir] Created dir:
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/build/xdoclet/classes/META-INF
> > >   [xdoclet] 0 [main] INFO XDocletMain.start  - RUNNING_TASKNAME
> > > arguments: [Ljava.lang.String;@1d87b85
> > >   [xdoclet] 13 [main] INFO TemplateSubTask.engineStarted  -
> > > GENERATING_TEMPLATE_OUTPUT_SINGLE_FILE arguments:
> > > [Ljava.lang.String;@22d166
> > >   [xdoclet] WARNING: Some classes refer to other classes that were
> > > not
> > > found among the sources or on the classpath.
> > >   [xdoclet]          (Perhaps the referred class doesn't exist?
> > > Hasn't
> > > been generated yet?)
> > >   [xdoclet]          The referring classes do not import any fully
> > > qualified classes matching these classes.
> > >   [xdoclet]          Since at least one package is imported, it is
> > > impossible for xjavadoc to figure out
> > >   [xdoclet]          what package the referred classes belong to.
> > > The
> > > classes are:
> > >   [xdoclet]
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/xdoclet/src/xdoclet/modules/util/CollectionTagsHandler.java
> > > --> XDocletTagSupport qualified to
> > > xdoclet.modules.util.XDocletTagSupport
> > > 
> > > externalizer:
> > >      [echo] Copying resources...
> > >      [copy] Copying 3 files to
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/target/l10n
> > >      [echo] Generating message bundle files for module...
> > >      [echo] module.classes.dir :
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/build/xdoclet/classes
> > >      [echo] module.src.dir :
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/xdoclet/src
> > > 
> > > BUILD FAILED
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/build.xml:55:
> > > Following error occured while executing this line
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/core/build.xml:207:
> > > Following error occured while executing this line
> > > /discs/staff/workspace/boutinde/eclipse-new/eclipse/workspace/xdoclet1.2_fromWebSite/xdoclet-1.2.1/modules/modules-common.ent:181:
> > > CREATE_TASK_ERROR arguments: [Ljava.lang.String;@1a0ae6
> > > 
> > > Total time: 1 minute 11 seconds
> > >  >>
> > > 
> > > Have you already seen this error.
> > > 
> > > For your information I get
> > > http://prdownloads.sourceforge.net/xdoclet/xdoclet-src-1.2.1.tgz?download
> > > 
> > > Regards,
> > > Denis Boutin.
-- 



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to