I'm using Ant 1.5 but I got a different compile error. It seems it didn't find xjavadoc package, XClass, XMethod classes. Where can I find these classes? Thanks,
Howard Lin > -----Original Message----- > From: Andrew Stevens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 2:31 AM > To: [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] Cannot Compile from CVS > > > A wise old hermit known only as Dan Brown <[EMAIL PROTECTED]> > once said: > > > I just > > updated my CVS repository 9-18-02 and have not be able > > to get xdoclet to compile. > ... > > Kind of looks > > like I cannot compile with Ant 1.5, maybe I should get > > 1.4 and try again? > > No, 1.5 is the right version to use. It *definitely* won't > compile under > 1.4 (as xdoclet gets used on itself during the build, and > requires 1.5 > now). What version JDK are you running? > > There's an extract from the docs (which you have to build > with Maven now) > below that looks relevant. The description of the third one > used to be "I > don't have the message but when you'll read the solution, you'll > understand"; IIRC it was something to do with > com/kvisco/xsl/XSLProcessor, > though. (Vincent, is that right?) > > Hope this helps, > > > Andrew. > > > Ant 1.5 Troubleshooting > These errors are due to the fact that no XSL Transformer is > available in > Jakarta Ant 1.5 per default. When you run on JDK 1.4 you have > all that for > free. > > DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. > java.lang.NoClassDefFoundError: javax/xml/transform/ErrorListener > > Solution: the xmlApis.jar from Ant 1.5Beta1 do not contain > javax.xml.transform Copy one that contains these classes to > $ANT_HOME/lib. > The one from Xalan 2.3.1 is just fine: xml-apis.jar. It is in > xdoclet/lib > for your convenience. > > DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. > javax.xml.transform.TransformerFactoryConfigurationError: > Provider for > javax.xml.transform.TransformerFactory cannot be found > > Solution: Copy xalan.jar to $ANT_HOME/lib > > Specifying the TransformerFactory implementation > Define ANT_OPTS : > ANT_OPTS=-Djavax.xml.transform.TransformerFactory=org.apache.x > alan.process > or.TransformerFactoryImpl > > > ------------------------------------------------------- > 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
