[Xdoclet-user] empty validation.xml file - please help.

2009-06-21 Thread Sam Wun
Hi, I tried generate a validation.xml file with "form name", "field property", "msg name", and "key" in the file, but it doesn't generate these information in the file from the struts tags given in my ActionForm java file. Here is the java soruce file I have: package com.XYZ.onlinepayment.portl

[Xdoclet-user] empty validation.xml file

2009-06-21 Thread Sam Wun
Hi, I tried generate a validation.xml file with "form name", "field property", "msg name", and "key" in the file, but it doesn't generate these information in the file from the struts tags given in my ActionForm java file. Here is the java soruce file I have: package com.XYZ.onlinepayment.portl

[Xdoclet-user] struts tags mapping.

2009-06-21 Thread Sam Wun
Dear all, I am a bit confused about generating mapping in the structs-config.xml file (with Xdoclet). Currently, I am getting this error: 15:55:47,890 INFO [PluginPackageUtil:1391] Finished checking for available updates in 2 ms 15:55:54,284 ERROR [PortletRequestDispatcherImpl:316] org.apa

[Xdoclet-user] Can't generate correct "path" and "type" in struts-config.xml

2009-06-18 Thread Sam Wun
Hi, I have an Action java source code with package at the top of the file. When I put the package line in the file, ant couldn't generate any content in all *.xml files. If I remove the package line from the java source code, all xml files are generated, but without path (that come after the word

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
Thanks On Tue, Jun 16, 2009 at 7:59 AM, Justin Case wrote: > > --- 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

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 Sam Wun
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M at java.lang.reflect.Method.invoke(Method.java:597)^M ... On Tue, Jun 16, 2009 at 1:45 AM, Sam Wun wrote: > the line 16 where the cause of the error is here in the build.xml file: > > classpathref="plugin-lib

Re: [Xdoclet-user] Reference xdocpath not found

2009-06-15 Thread Sam Wun
ref="plugin-lib.classpath"> <<<<<= On Tue, Jun 16, 2009 at 1:44 AM, Sam Wun wrote: > 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

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 Sam Wun
d its ../build-common-portlet.xml file. Perhaps, I need to look into the ../build-common-portlet.xml file as well. Thanks On Mon, Jun 15, 2009 at 10:33 PM, Sam Wun wrote: > Hi, > > > On Mon, Jun 15, 2009 at 8:27 PM, Justin > Case wrote: >> >> Hi Sam, >> >> No, it&

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
ld.xml:21: Unexpected error Total time: 3 seconds On Mon, Jun 15, 2009 at 10:47 PM, Sam Wun wrote: > I also defined a XDOCLET_HOME enviornment variable and all xdoclet jar > files are in that path: > > twp1:online-payment # echo $XDOCLET_HOME > /usr/local/share/java/classes >

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 Sam Wun
; --- 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

[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