> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Hanasaki > JiJi > Sent: 10. februar 2003 09:55 > To: [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] BUGREPROT: B2 samples : ant clean deletes > needed files for rebuild > > > looks like there is no src for > samples/target/classes/test/web/SimpleServlet.class > this class is deleted when ant clean is run >
SimpleServlet.java is there. It's not being deleted. I don't know why you say it's being deleted. (try to do a file search for it). Read the error message from javac again and try to understand what it says. The error message means that javac has trouble compiling SimpleServlet.java because it can't find SimpleServlet's *superclass*. The superclass is a class in velocity.jar, which we forgot to distribute with xdoclet 1.2b3. You can download it from http://www.ibiblio.com/maven/velocity/jars/velocity-1.4-dev.jar. Put it in your samples/lib directory. HTH, Aslak > details of failed, run after clean, below > > > hibernate: > [echo] +---------------------------------------------------+ > [echo] | | > [echo] | R U N N I N G H I B E R N A T E D O C L E T | > [echo] | | > [echo] +---------------------------------------------------+ > [hibernatedoclet] Running <hibernate/> > [hibernatedoclet] Generating mapping file for test.hibernate.Order. > [hibernatedoclet] Generating mapping file for > test.hibernate.BaseReferenceValue. > [hibernatedoclet] Running <jbossservice/> > [hibernatedoclet] Generating jboss service descriptor > > compile: > [echo] +---------------------------------------------------+ > [echo] | | > [echo] | C O M P I L I N G S O U R C E S | > [echo] | | > [echo] +---------------------------------------------------+ > [javac] Compiling 128 source files to > /amd/fileserver/data1/dist/xdoclet/b2/samples/target/classes > [javac] > /amd/fileserver/data1/dist/xdoclet/b2/samples/src/java/test/web/Si > mpleServlet.java:9: > package org.apache.velocity.servlet does not exist > [javac] import org.apache.velocity.servlet.VelocityServlet; > [javac] ^ > [javac] > /amd/fileserver/data1/dist/xdoclet/b2/samples/src/java/test/web/Si > mpleServlet.java:56: > cannot resolve symbol > [javac] symbol : class VelocityServlet > [javac] location: class test.web.SimpleServlet > [javac] public class SimpleServlet extends VelocityServlet { > [javac] ^ > [javac] 2 errors > > BUILD FAILED > file:/amd/fileserver/data1/dist/xdoclet/b2/samples/build.xml:415: > Compile failed; see the compiler error output for details. > > Total time: 1 minute 7 seconds > > > Aslak Hellesoy wrote: > > > >>-----Original Message----- > >>From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] > >>Sent: 10. februar 2003 09:24 > >>To: Aslak Hellesoy > >>Subject: Re: [Xdoclet-user] BUGREPROT: B2 samples : ant clean deletes > >>needed files for rebuild > >> > >> > >>it is reproducable have you tried? > >> > > > > > > I have tried with xdoclet-bin-1.2b2.tgz. Cannot reproduce. What's your > > error? (Saying it fails does of course tell us very little). > > > > Aslak > > > > > >>Aslak Hellesoy wrote: > >> > >>>>-----Original Message----- > >>>>From: [EMAIL PROTECTED] > >>>>[mailto:[EMAIL PROTECTED]]On Behalf Of Hanasaki > >>>>JiJi > >>>>Sent: 10. februar 2003 06:55 > >>>>To: LIST - XDoclet > >>>>Subject: [Xdoclet-user] BUGREPROT: B2 samples : ant clean > deletes needed > >>>>files for rebuild > >>>> > >>>> > >>>>ant clean deletes the samples target dir. this dir contains files > >>>>needed to run ant and build the samples > >>>> > >>> > >>> > >>>No they don't. You're wrong. > >>> > >>> > >>> > >>>>ant => builds fine > >>>> > >>>>ant clean = > ok > >>>> > >>>>ant => fails > >>>> > >>> > >>> > >>>Sweet. How? > >>> > >>> > >>> > >>>>------------------------------------------------------- > >>>>This SF.NET email is sponsored by: > >>>>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > >>>>http://www.vasoftware.com > >>>>_______________________________________________ > >>>>xdoclet-user mailing list > >>>>[EMAIL PROTECTED] > >>>>https://lists.sourceforge.net/lists/listinfo/xdoclet-user > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.NET email is sponsored by: > >>>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > >>>http://www.vasoftware.com > >>>_______________________________________________ > >>>xdoclet-user mailing list > >>>[EMAIL PROTECTED] > >>>https://lists.sourceforge.net/lists/listinfo/xdoclet-user > >> > >>-- > >>================================================================= > >>= Management is doing things right; leadership is doing the = > >>= right things. - Peter Drucker = > >>=_______________________________________________________________= > >>= http://www.sun.com/service/sunps/jdc/javacenter.pdf = > >>= www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone = > >>================================================================= > >> > > > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > -- > ================================================================= > = Management is doing things right; leadership is doing the = > = right things. - Peter Drucker = > =_______________________________________________________________= > = http://www.sun.com/service/sunps/jdc/javacenter.pdf = > = www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone = > ================================================================= > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
