Hi,
--- On Sun, 6/14/09, Sam Wun swun2...@gmail.com 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
Hi,
Thanks for the hint, however with those extra repositories defined the failure
is exactly the same, see below...
Thanks a lot,
M
[INFO] Building xdoclet-plugin-qtags
[INFO]task-segment: [install]
[INFO]
[INFO]
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:
?xml version=1.0?
project name=portlet basedir=. default=deploy
import file=../build-common-portlet.xml /
target name=compile
mkdir
justin, please do not email me directly but through list
( so there is a contrail for others )
in any case, fresh binary distribution is in sourceforge repo:
http://repository.codehaus.org/org/codehaus/xdoclet/xdoclet-plugins-dist/1.0.5/
( pick your format )
regaerds,
[ Konstantin
Hi,
May I suggest you some bit of Ant reading? It will always help.
In the meantime take:
taskdef name=webdoclet
classname=Xdoclet.modules.web.WebDocletTask
classpathref=xdocpath
/taskdef
and replace it with
taskdef name=webdoclet
classname=Xdoclet.modules.web.WebDocletTask
--- On Mon, 6/15/09, Konstantin Priblouda kpriblo...@yahoo.com wrote:
justin, please do not email me directly but through list
( so there is a contrail for others )
But I DO mail you through the list :)
I will try the newest version aswell.
Thanks,
M
Not good.
It still failed with the same error.
Here is the modified build.xml file:
project name=portlet basedir=. default=deploy
import file=../build-common-portlet.xml /
target name=compile
mkdir dir=docroot/WEB-INF/classes /
path
ok, now I see ;)
[ Konstantin Pribluda http://www.pribluda.de ]
JTec quality components: http://www.pribluda.de/projects/
--- On Mon, 6/15/09, Justin Case send_lotsa_spam_h...@yahoo.com wrote:
From: Justin Case send_lotsa_spam_h...@yahoo.com
Subject: Re: [Xdoclet-user]
Hi Sam,
No, it's not the same error. Please compare the two messages - the first
complained about a classpathref not found, now about a class not found. Your
XDoclet jars (or at least the web ones) are seemingly not in that classpath
defined in build.xml, so they cannot be found. How about
Hi all,
1.0.5 fails aswell... below's the snippet. Actually it's not a surprise it
fails, I couldn't have in my empty repository the sources of assembly
beforehand...
Any fix plz? :)
M
[INFO] xmlunit-1.2.jar already exists in destination.
[INFO] [site:attach-descriptor]
[INFO]
this is not a maven project, but complete binary distribution
containing everything you need to run XD2 and plugins
[ Konstantin Pribluda http://www.pribluda.de ]
JTec quality components: http://www.pribluda.de/projects/
--- On Mon, 6/15/09, Justin Case
After added a line in the build.xml file, the ant compile goes further:
The line I added is:
path id=plugin-lib.classpath
pathelement
location=${app.server.classes.portal.dir} /
fileset dir=${app.server.lib.portal.dir}
includes=*.jar /
---
Hi,
On Mon, Jun 15, 2009 at 8:27 PM, Justin
Casesend_lotsa_spam_h...@yahoo.com wrote:
Hi Sam,
No, it's not the same error. Please compare the two messages - the first
complained about a classpathref not found, now about a class not found. Your
XDoclet jars (or at least the web ones) are
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
twp1:online-payment # ls -l $XDOCLET_HOME/
total 1642
drwxr-xr-x 2 root wheel2048 Jun 14 21:44 ./
drwxr-xr-x 6 root wheel
Hi all,
Velocity code generation works fine with a VM file. I thought I'd use also the
qtags special annotations to implement easier restrictions instead of checking
everything in the VM file.
However I can't seem to understand how to activate them. I created the tags as
needed, put
Very true: once setting ant -v -d the missing class(es) will be pretty obvious.
M
--- On Mon, 6/15/09, Konstantin Priblouda kpriblo...@yahoo.com wrote:
AFAIR,
webdoclet also requires servlet api somewhere on classpath...
I would enable debugging output from ant, and look for errors
in
Hi all,
Is there a way to tell XDoclet - in the Ant file, in the velocity file or
somewhere else - when to skip a file based on some internal tags in the file? I
can put inside the VM file rules to not generate empty files where there's no
tag, but I don't like those empty files at all...
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
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:
?xml version=1.0?
project name=portlet basedir=. default=deploy
import file=../build-common-portlet.xml /
target name=compile
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{
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:
echo message=${toString:plugin-lib.classpath}/
M
--- On Mon, 6/15/09, Sam Wun swun2...@gmail.com wrote:
From: Sam
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
Hello,
I have spent some time with xdoclet and think I need to move to
xdoclet2. xdoclet doesn't seem able to work with generics, annotations
or enums. I have downloaded Maven and begun the process of using it with
xdoclet2. I have checked out the SVN repo of xdoclet2 source code but I
don't
--- On Mon, 6/15/09, John Leonard jleonard.20...@gmx.com wrote:
From: John Leonard jleonard.20...@gmx.com
I have spent some time with xdoclet and think I need to
move to
xdoclet2.
... since 3-4 years - definitely ;)
xdoclet doesn't seem able to work with generics,
annotations
or
LinkedIn
End-user,
I'd like to add you to my professional network on LinkedIn.
- Ahmed
Accept Ahmed Malik's invite:
https://www.linkedin.com/e/isd/618042158/sBe5_1F0/
--
What is LinkedIn and why should you join?
--- On Mon, 6/15/09, Sam Wun swun2...@gmail.com 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
Hi,
Where should I define the src?
Here is my build.xml file:
?xml version=1.0?
project name=portlet basedir=. default=deploy
import file=../build-common-portlet.xml /
target name=compile
mkdir dir=docroot/WEB-INF/classes/ /
mkdir
Apparently, you should not create src dir with your ant script,
it shall be already there. ( And not under WEB-INF )
Meanwhile, there is a quite standart layout used by maven:
src/main/java
/web
/test
And everything is build under target/
regards,
[ Konstantin Pribluda
28 matches
Mail list logo