On Tue, 20 Apr 2004, Serge Knystautas wrote:

> Rupp, Heiko wrote:
> > Hi,
> > 
> >>submit a patch until HEAD is working.
> > 
> > What do you mean with "head is not working"?
> > 
> > I just updated my source and the compile just runs fine.
> > You probably need to update your xjavadoc source as well,
> > as there has been a change lately.
> 
> Environment: JDK 1.4.2_04, Windows XP, ant 1.6.1
> 
> Seems like there's some combination of how I built this, ant versions,
> recent changes to CVS, and unclear dependencies.  Here's what
> happened...
>
> 1. checkout xdoclet.
> 2. try to build...
>    a. Says I need the xjavadoc source but says it will download 
> http://xdoclet.sourceforge.net/repository/xjavadoc/jars/xjavadoc-1.0.2.jar

This is a problem; recent xdoclet now depends on an updated xjavadoc.  
Which means you have to also build xjavadoc from CVS until we release a 
new version.

That begs the question: is there an interim solution to this problem?  
Maybe CVS xdoclet should always download a CVS snapshot of xjavadoc?  
Maybe we should release xjavadoc 1.0.3?

>    b. can't run junit because xjavadoc doesn't seem to like ant 1.6.1 
> (?) or something about my setup.  Error your generic:
>      BUILD FAILED
>      C:\dev\sf\xjavadoc-ignore\build.xml:136: Could not create task or 
> type of type:
>      junit.

This can be gotten around this way (in UNIX-land anyway):
 
CLASSPATH=lib/junit.jar ant

Since you're on windows, you'll have to do whatever you normally do to 
change your classpath to include lib/junit.jar.

If you're not interested in the junit test results, or can't get the 
classpath thing to work, you could update build.xml in xjavadoc so that 
this line:

   <target name="jar" depends="junit">

is changed to this:

   <target name="jar" depends="compile">

Just make sure that change never, ever makes it into a commit or a 
submitted patch. :)

Then, once the building is done, copy target/xjavadoc-1.0.2.jar into the 
lib/ directory of xdoclet.  That will get you going at least.

- D


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to