Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Konstantin Priblouda
://www.pribluda.de ] JTec quality components: http://www.pribluda.de/projects/ --- On Tue, 6/16/09, Sam Wun wrote: > From: Sam Wun > Subject: Re: [Xdoclet-user] Reference xdocpath not found > To: "End-user support for the XDoclet code generator" > > Dat

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
Hi, Where should I define the src? Here is my build.xml file: >>> ==

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Justin Case
--- On Mon, 6/15/09, Sam Wun wrote: > I made some progress, now it > complained I can't create a src/ > directory, see below for ant -v -d: It complained it can't FIND it :) why would be sources under WEB-INF anyway??? M

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
I made some progress, now it complained I can't create a src/ directory, see below for ant -v -d: ... ... Loaded from /usr/local/share/java/classes/xjavadoc-1.1.jar xjavadoc/Type.class Class xjavadoc.Type loaded from ant loader (parentFirst) Class xjavadoc.XField loaded from ant loader (parentFirs

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Justin Case
Did you define a fileset in the classpath variable with that directory where the xdoclet jars are? You can check always what you got in that classpath with a line like this: M --- On Mon, 6/15/09, Sam Wun wrote: > From: Sam Wun > Subject: Re: [Xdoclet-user] Reference xdocpath not

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
OK, the line 16 "plugin-lib.classpath" is wrong, Now I fixed the classpathref , but it still complain WebXdoclet not found: ... compile:^M Adding reference: plugin-lib.classpath^M fileset: Setup scanner in dir /usr/liferay/liferay-portal-5.2.2/bundles/tomcat-6.0.18/lib/ext with patternSet{ inc

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
the line 16 where the cause of the error is here in the build.xml file: classpathref="plugin-lib.classpath"> Here is again my build.xml file: classpathref=

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
I have a feeling it just can't find the home path of Xdoclet. But not sure how to define the HOME path of Xdoclet for ant. This is what I got when running ant -v -d: ... ... Loaded from /usr/liferay/liferay-portal-5.2.2/dev/lib/antelope.jar ise/antelope/tasks/util/math/Math$Candidate.class^M Cla

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Justin Case
Very true: once setting ant -v -d the missing class(es) will be pretty obvious. M --- On Mon, 6/15/09, Konstantin Priblouda wrote: > AFAIR, > webdoclet also requires servlet api somewhere on classpath... > > I would enable debugging output from ant, and look for errors > in detail -

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Konstantin Priblouda
/15/09, Sam Wun wrote: > From: Sam Wun > Subject: Re: [Xdoclet-user] Reference xdocpath not found > To: "End-user support for the XDoclet code generator" > > Date: Monday, June 15, 2009, 3:47 PM > I also defined a XDOCLET_HOME > enviornment variable and all xdocl

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
t >> obvious... >> >> Best regards, >> M >> >> --- On Mon, 6/15/09, Sam Wun wrote: >> >>> From: Sam Wun >>> Subject: Re: [Xdoclet-user] Reference xdocpath not found >>> To: "End-user support for the XDoclet code generator&quo

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
y apologies but it wasn't that > obvious... > > Best regards, > M > > --- On Mon, 6/15/09, Sam Wun wrote: > >> From: Sam Wun >> Subject: Re: [Xdoclet-user] Reference xdocpath not found >> To: "End-user support for the XDoclet code generator" >

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
onment variable in the system. >> Please further show me which variable I should look into? Any example? >> >> Thanks >> >>> I must repeat my suggestion, read please what a classpath is and what Ant >>> generally does. If you already know that my apologies but it w

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Justin Case
> Subject: Re: [Xdoclet-user] Reference xdocpath not found > To: "End-user support for the XDoclet code generator" > > Date: Monday, June 15, 2009, 2:53 AM > Not good. > It still failed with the same error. > Here is the modified build.xml file: > >

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
Not good. It still failed with the same error. Here is the modified build.xml file:

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Justin Case
Hi, May I suggest you some bit of Ant reading? It will always help. In the meantime take: and replace it with Notice the different classpath reference? I hope you know what a classpath is, if not you should read about that as well - it will save you lots of headaches. H

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
Hi, I am a bit lost. May I ask how are you going to modify the build.xml file? Here is my build.xml file:

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Justin Case
Hi, --- On Sun, 6/14/09, Sam Wun wrote: > BUILD FAILED > /usr/liferay/liferay-portal-5.2.2/dev/portlets/online-payment/build.xml:14: > Reference xdocpath not found. The xdocpath indeed is not defined anywhere in your build.xml. You defined though another path called "plugin-lib.classpath", yo

[Xdoclet-user] Reference xdocpath not found

2009-06-14 Thread Sam Wun
Hi, I just installed xdoclet and created a build.xml file (shown below), but execution of ant command failed with the followoing errors: # ant Buildfile: build.xml compile: BUILD FAILED /usr/liferay/liferay-portal-5.2.2/dev/portlets/online-payment/build.xml:14: Reference xdocpath not found. Tota