On 09 Dec 2002, Stefan Bodewig [EMAIL PROTECTED] wrote:
1.5.2 might be a different issue. I'll look into porting this
specific fix over to the 1.5 branch - unless it is too big, we may
get it out faster that way.
I've done so. A current build of the 1.5 branch can be found at
Are there any any tools(Ant tasks) already developed for generating reports
for Java code under open source.
/Suresh
I wish to create a collection of sub-project basedirs (instead of
separate propertiesd). Then I wish to iterate through that collection
and call a specific target of the sub-projects.
The collection should be globally available in the top level build file.
I suppose I must use the script task,
Hi Jan Materne,
i successfully built my project using the BT batch
file whatever you said.However i dont understand how
to do same thing with the XML buildfile.Please explain
me in detail..
Thanks,
Ram
--- [EMAIL PROTECTED] wrote: project
name=master
target name=Project1
The buildfile does the same as the batch file. But while you can give
targets to the
batchfile like
build.bat Project1 build deploy
this canĀ“t be done in buildfile, because there is not target 'build'. That
is defined
in project1.xml.
If your subproject have both 'build' and 'deploy' targets
Hi,
Is there a way to make the VssCreate task to create parent directories
when necessary ? (like the mkdir task does).
If not, It can be done by breaking the original path, and build
it project by project. Is there a natural way to do it in Ant ?
Thanks, Yaron
--
To unsubscribe, e-mail:
Hi Stefan,
When I follow that link, the HTML page that lists the directory truncates
all filenames so they all end up with the same prefix. I have to hover all
links and look at the actual link in the status bar the bottom of IE...
Maybe it's just my browser and/or medium size font setting, but
Maybe you should consider the subant task posted in BugZilla. Sounds like
it does what you want already. --DD
-Original Message-
From: Kyrre Lugg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 5:54 AM
To: [EMAIL PROTECTED]
Subject: Scripting with global collection of
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote:
When I follow that link, the HTML page that lists the directory
truncates all filenames so they all end up with the same prefix.
True. I don't think I know enough .htaccess magic to fix it, though.
Stefan
--
To unsubscribe,
Is there an efficient way to build JARs (so it loads all the
dependencies and not every class file)? I see that there is a
ClassFileSet, but it cannot pull required classes from JAR files. Also,
I could not really get it to work and there seems to be a lack of
documentation for it. Secondly, I
I fail to see how any tool could *guess* which classes you'll dynamically
load from your code, except if you have a very controlled way of specifying
the list of such classes (their names I guess). Packaging more classes than
needed is better than not finding them at runtime once deployed.
Or I'm
* Suresh Babu Koya ([EMAIL PROTECTED]) wrote:
Are there any any tools(Ant tasks) already developed for generating reports
for Java code under open source.
Have you seen:
- JDepend (http://www.clarkware.com/software/JDepend.html)
- JavaNCSS (http://www.kclee.com/clemens/java/javancss/)
-
I don't need any tool to guess which classes I am loading dynamically.
I want to define a fileset of these classes (so include all the classes
in folderX as my root classes) and then have the tool load all of their
dependencies (very similar to what ClassFileSet does, but I need it to
actually
Then unjar all your dependent JARs somewhere, and make classfileset work
for you, or file a bug report in BugZilla if you think you've found a bug.
--DD
PS: Off topic, but is it OK to include part of projects classes in your own
JARs, when these other projects are Open Source released under
That's what I thought it might some down to. I was just wondering if
there was a better tool out there or more documentation on the
ClassFileSet.
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 9:30 AM
To: 'Ant Users List'
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote:
Off topic, but is it OK to include part of projects classes in your
own JARs, when these other projects are Open Source released under
various licenses?
Depends on the license.
Does the Apache or Jakarta license prevent that?
Winzip does indeed lie. Sorry about the confusion. It was in the faq and
everything... dangit.
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 11:03 PM
To: [EMAIL PROTECTED]
Subject: Re: file-set in zip has a lowercase bug?
Probably
Hi,
I want to do a few things if my backup dir content is older than my source
dir content.
I am trying to use the uptodate task, with no success, like this:
target name=check depends=init
uptodate property=srcs.changed
srcfiles dir=${basedir} /
mapper type=glob
Server Config:
Running on Cobalt RAQ3 also running
tomcat 4.1.12, jdk 1.3.1
Installed gz file as outlined in MySQL and JSP Web
Applications appendix A.
1st logged in as root
2nd copied jakarta-ant-1.5.1-bin.tar.gz to /tmp
3rd gunzip -c
I'm not too sure I follow your backup thing going on, but if your ${src} and
${bkp} variable also contain ${basedir} as a suffix, the regex won't match.
Mappers are fed relative paths compared to your ${basedir} I think. Try
taking this info into account and that may solve your problem. --DD
does anyone know what this error message means?
using ant 1.5.1 w/ xalan2.4.1
[style] C:/brown_dev/srcroot/bcs/doc/checkstyle/checkstyle.xsl:272:65:
Warning! java.lang.reflect.InvocationTargetException Cause:
java.lang.reflect.InvocationTargetException
Ryan
--
To unsubscribe, e-mail:
On 9 Dec 2002 at 14:07, Dominique Devienne wrote:
Ant requires the JDK's tools.jar (1.2+) on the classpath for all tasks that
wrap JDK tools (javac/javah/etc...). ant_home\bin\ant.{bat|sh} normally
takes care of that. If you start Ant yourself, read the doc on how to start
it yourself.
I
On 9 Dec 2002 at 14:07, Dominique Devienne wrote:
Ant requires the JDK's tools.jar (1.2+) on the classpath for all tasks that
wrap JDK tools (javac/javah/etc...). ant_home\bin\ant.{bat|sh} normally
takes care of that. If you start Ant yourself, read the doc on how to start
it yourself.
I
Hello Ryan,
You might need to fork the VM. Is there an option for forking in the
style task? If so, use it and see what happens.
Jake
Wednesday, December 11, 2002, 1:33:04 PM, you wrote:
SR does anyone know what this error message means?
SR using ant 1.5.1 w/ xalan2.4.1
SR [style]
can't fork the VM with style. i've looked through the mail archive, and
went through the FAQ on using the JUnit and style task w/o having
optional.jar in ANT_HOME. i've had junit working fine for monthes this way,
and now i'd like to add style for checkstyle. after going through the docs
again,
I recommend you read Ted Neward's white paper on understanding
Class.forName() for the details of class loading in Java.
Very enlightening. --DD
-Original Message-
From: Peter Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:43 PM
To: Ant Users List
Subject: RE: Where
H. Whitney Stewart wrote:
Can not run ant from command prompt via telnet logged in as root
When you say can not run ant, what exactly do you mean? What output do
you see? Is the ant command not found, or does it run and fail? Also,
I'd suggest not running Ant as root.
Can someone please
I am looking for a way to set a property based on wether a specified directory exists.
Psudeocode:
[If the directory /home/httpd/html exists]
property name=in.test.environment value=true /
/[If statement]
-- Nathan Christiansen
Morinda, Inc.
http://www.tahitiannoni.com
--
To
available property=in.test.environment
file=/home/httpd/html
type=dir /
-Original Message-
From: Nathan Christiansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 5:07 PM
To: Ant Users List
Subject: Set a property based on directory exists
I am
try this
available file=/home/httpd/html type=dir property=in.test.environment/
-Original Message-
From: Nathan Christiansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 6:07 PM
To: Ant Users List
Subject: Set a property based on directory exists
I am looking for a way
Oh, that is what the available task is about. (How embarrassing.)
Thanks.
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 4:09 PM
To: 'Ant Users List'
Subject: RE: Set a property based on directory exists
available
Dominique,
Thanx for your answer.
Let me explain my backup control logic a littlebit: I always copy all my
source files to my ${bkp} dir if any of them has been touched. Before I do
that, I move my old backup files to a folder named ${bkp}${DSTAMP}${TSTAMP}.
So, my ${bkp} folder contains only
Conner
Thank you for your quick reply.
I apologize that I did not give you enough information regarding can not run
It appears that the OS does not find ant
bash: ant: command not found
I may be asking the question in the wrong place. If so I am sorry. If you could
direct me to the
H Whitney Stewart wrote:
Conner
Thank you for your quick reply.
I apologize that I did not give you enough information regarding can not run
It appears that the OS does not find ant
bash: ant: command not found
I may be asking the question in the wrong place. If so I am sorry. If you
Sonnek, Ryan wrote:
does anyone know what this error message means?
using ant 1.5.1 w/ xalan2.4.1
[style] C:/brown_dev/srcroot/bcs/doc/checkstyle/checkstyle.xsl:272:65:
Warning! java.lang.reflect.InvocationTargetException Cause:
java.lang.reflect.InvocationTargetException
Ryan
Have you run
Hi again,
I am trying to run a target in a build file that uses the ejbdoclet task
from XDoclet. No matter what I do - change the classpath, JDK version
etc. -, I always get:
[ejbdoclet] Generating Javadoc
[ejbdoclet] Javadoc execution
[ejbdoclet] java.lang.VerifyError: (class:
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote:
Mappers are fed relative paths compared to your ${basedir} I
think.
No, to the dir attribute of the fileset.
Stefan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Wed, 11 Dec 2002, Michael Nascimento Santos [EMAIL PROTECTED]
wrote:
srcfiles dir=${basedir} /
mapper type=glob from=${src}\*.java to=${bkp}\*.java /
Does
srcfiles dir=${src} /
mapper type=glob from=*.java to=${bkp}\*.java /
work?
Stefan
--
To unsubscribe,
On 12 Dec 2002, Stefan Bodewig [EMAIL PROTECTED] wrote:
On Wed, 11 Dec 2002, Dominique Devienne [EMAIL PROTECTED] wrote:
Mappers are fed relative paths compared to your ${basedir} I
think.
No, to the dir attribute of the fileset.
which has been ${basedir} in the case at hand, sorry for
Hi,
To replace all instances of e.g. adapter-instance in a directory I use:
replace dir=${adapterdir}/adapter
token=adapter-instance
value=${adapter_instance}/
Now I have an XML file from where I want to get the values.
something like:
XML: foobar/foo
replace
40 matches
Mail list logo