> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Sebastien > BLANC > Sent: 30. oktober 2002 18:58 > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] xdoc generation > > > Hello ! > I'm trying to generate xdoc from xdoclet-ed ant files and so tried to
What do you mean by "xdoclet-ed ant files" ? > inspire from what was done in xdoclet CVS tree but got the following > error when trying to launch a simple target for one of my modules: > file:C:/Data/EJB/com/alcatel/gem/ejb/ems/ems/build.xml:417: Unexpected > element "xslt" > at > org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperI > mpl.java:170) > > at > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper. > java:117) > > at org.apache.tools.ant.Main.runBuild(Main.java:597) > at org.apache.tools.ant.Main.start(Main.java:196) > at org.apache.tools.ant.Main.main(Main.java:235) > so my first question would be do I need maven or not to perform this No, you don't need Maven to generate the xdoc XML files. We use two approaches: 1) The tag documentation uses XSLT (ant's xslt task) to transform xtags.xml files to xdoc format. Plain Ant and Xalan. See Ant manual. 2) We have a special documentation subtask, AntDocSubTask in the xdoclet module (ant-docs target in build-docs.xml) These will generate xdoc files in xdoclet/target/generated-xdocs Now, if you have Maven installed, you can run the Maven goal "xdoc" to transform these xml files to a nice web site. Aslak > task (generation of XML doc first) ? is there any doc I should read on > how to setup style sheets and so on ? No stylesheets to set up. They are included in Maven . You'll get more help about xslt in Ant's forums and Maven in Maven's forums. Aslak > thanx. > seb. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
