On 13-06-2003 16:13, "Hani Suleiman" <[EMAIL PROTECTED]> wrote:
> Do what everyone else does and grab it from cvs and run ant. Avoid
> maven altogether. Maven is (thankfully) only used when generating docs,
> and you can just view those off the website.
- I want to use Maven + XDoclet for my own project. I'm not trying to build
XDoclet, I'm trying to run the sample from the binary distribution. I don't
wan to use CVS for this.
- BTW, did you ever try to make cvs work from behind an authenticating
proxy/firewall ? ssh should do, but sourceforge does not allow this as far
as I understand
- It seems that I can now more or less run Maven in the XDoclet-sample.
After putting xjavadoc.1.0.jar in the local repository, adding a few more
dependencies to the project.xml.
Currently the project.xml file looks as follows
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<pomVersion>3</pomVersion>
<id>xdoclet-sample</id>
<dependencies>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet</artifactId>
<version>1.2b3-dev</version>
</dependency>
<dependency>
<id>xdoclet+ejb-module</id>
<version>1.2b3-dev</version>
</dependency>
<dependency>
<id>xdoclet+web-module</id>
<version>1.2b3-dev</version>
</dependency>
<dependency>
<id>xdoclet+hibernate-module</id>
<version>1.2b3-dev</version>
</dependency>
<dependency>
<id>xdoclet+xdoclet-module</id>
<version>1.2b3-dev</version>
</dependency>
<dependency>
<id>servletapi</id>
<version>2.3</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.0</version>
</dependency>
<!--
<dependency>
<id>ejb</id>
<jar>ejb.jar</jar>
<version>2.0</version>
</dependency>
-->
</dependencies>
<build>
<sourceDirectory>src/java</sourceDirectory>
</build>
</project>
Most things are generated now, I still get some compilation errors and an
occasional
The class "test.web.SimpleTag" occurs in more than one fileset. That's
illegal.
But I guess I have to remove some target dir copies to avoid this.
Conclusion: 1.2b3 requires xjavadoc.1.0.jar (should be part of bin-release
IMHO), the project.xml needs some tweaking before maven can build the sample
I hope I'm close to the point where I can start with my own project now.
regards
m.
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user