Rainer Noack wrote:
Both manifest entries are often used.
1) Class-path: lists "required" jars (typically if one application consists
of many jars).
Many classloaders evaluate this entry.
Yes, couldn't this be automagically generated? It seems to be made by
hand in my project.
Is there a
This is expected behaviour. When the Child instance is added to MyTask,
it is not yet configured (i.e. its attributes are not yet set) . It will
be configured by the time your task's execute() method is called. The
normal strategy is just to accumulate the Child objects in a collection
and only use
Hello,
Short story : I have an issue when adding a child element to its father
: child's attribute are not set when in addChild(Child element) method...
-- build.xml fragment --
...
In the classfile for Child, there's a setAttribute(String) method.
In the classfile for MyTask, ther
On Thu, 7 Jul 2005 09:23:18 -0500, George Dibi wrote:
...
...
or use ant-contrib's if.
Ciao, Jürgen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I usually have the cron job source my profile like so...
10 30 * * * . ~/.profile ; /usr/bin/ant -buildfile /home/me/build.xml -logfile
/home/me/log.txt
Then make sure your PATH is set correctly in your ~/.profile
-Rob A
> -Original Message-
> From: blackwater dev [mailto:[EMAIL PROTEC
Hi
We're a Java shop serving our product on the web and soon to branch off for
our next release. My current build.xml file checksout from MAIN nightly,
modifies couple of files by time and date stamping them, tags the
repository, compiles, and deploys the WAR files onto the servers under
Tom
Robert,
thank you for the answers. I successfully configured
Apache and managed to upload my pages using your
javascript code. Your help was of great value to me.
Regards
Ivan
--- "Robert r. Sanders" <[EMAIL PROTECTED]>
wrote:
> For simple (non-versioned) PUT requestes try:
>
> http://www.tldp
Maybe try a . Try fiddling around with this to see if you can
make it work.
HTH Bill
-Original Message-
From: Kjersti Berg [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 1:37 AM
To: Ant Users List
Subject: Re: Javadoc on all subdirectories
Thanks Larry...I'll give it a go.
Thanks again!
On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote:
> The script that cron calls to run your ant script (if you have one) needs to
> set up the environment. If there is no script, but it calls ant itself, make
> a wrapper shell script that sets up
Hi all,
Can someone help me with this problem?
I am trying to do an "if" condition but it is failing to send the email
after successful build.
-Original Message-
From: bla
The script that cron calls to run your ant script (if you have one) needs to
set up the environment. If there is no script, but it calls ant itself, make
a wrapper shell script that sets up the path. I'm sure a few google searches
can help.
-- Larry
> -Original Message-
> From: blackwater
Sorry Larry to be so dense but I am a linux newbie.
So in the cron it needs to set the PATH variable as it is the cron
that runs the ant script.
On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote:
> Well you can't do that from your shell, since cron's shell is stripped, like
> I said. So you wil
Well you can't do that from your shell, since cron's shell is stripped, like
I said. So you will have to set the PATH variable in your script that calls
the ant script. If you don't have a shell script that calls your ant script,
create one for the purpose of building up the environment you need.
So cvs should be in my path env variable? How do I check that?
echo $PATH?
On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote:
> Make sure your script for cron sets up your path so cvs is in your path.
> Cronjobs run in a minimal environment.
>
> -- Larry
>
> > -Original Message-
> >
Make sure your script for cron sets up your path so cvs is in your path.
Cronjobs run in a minimal environment.
-- Larry
> -Original Message-
> From: blackwater dev [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 07, 2005 5:48 AM
> To: Ant Users List
> Subject: cvs task failing from cro
I have a cvs task that uses ssh authentication to checkout:
After asking a question yesterday about storing my ssh password, I set
up an ssh key and now when I ssh into the box, I can run the build
script and everything runs fine and it doesn't ask for my password.
The problem is, I need to run
Hi Jurgen,
You were right, this error goes away by being changed to "/". I just don't
understand why it works in all the other uPortal ant builds. Shall I change
it in ant.bat or some other file so that it's universal? Ignore if uPortal
doesn't sound familiar to you.
Thanks very much.
Liying
-
I did a quick test, which works for me:
1. Created a simple project:
1.1 directory layout
C:\ant\anttests\javadoc\build.xml
C:\ant\anttests\javadoc\dir1\org\apache\tools\ant\HelloWorld.java
C:\ant\anttests\javadoc\dir2\org\apache\ant\HelloWorld2.java
1.2 content - build.xml
On 07/07/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> first thought would be
>
>
> Jan
>
Thanks for the quick reply. This gives me this error:
doc-all:
[javadoc] BUILD FAILED:
file:C:/Workspace_WSADIE5/ALT_FOR_JAVADOC/NLP_Build/build.xml:189: No
source files and no packages have be
first thought would be
Jan
>-Ursprüngliche Nachricht-
>Von: Kjersti Berg [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 7. Juli 2005 09:36
>An: Ant Users List
>Betreff: Javadoc on all subdirectories
>
>Hi
>
>I am looking for a way to run javadoc on all sourcefiles for
>multiple pro
Did any of you encountered the same kind of problems?
Please any help is welcome.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 7/6/2005 2:37 PM
To: user@ant.apache.org
Subject: [ant-contrib] AntPerformanceListener problem:NullPointerException
Hello guy
Hi
I am looking for a way to run javadoc on all sourcefiles for multiple
projects. So far I have used the javadoc task, but I have to specify
all the source directories specifically.
The projects each have their own directory, and the source files are
located in a subdirectory. These source direc
On Wed, 6 Jul 2005 08:59:57 -0400, Mark Lybarger wrote:
>I've got a macrodef, and am calling it as you mentioned, I just can't seem
>to figure out how to conditionally call the subant only if hte file
>exists...?
Use a fileset, not a buildpath, if the fileset is empty, subant should be a
NOP.
Hhm "-buildfile" works for me.
Try that out:
* create a directory (I used c:\temp\ant-test)
* write in buildfile there
${basedir}
* create another directory (I used c:\temp\ant-test\dir)
* copy the buildfile into that dir
* go to your dir (...\ant-test)
* try the default
C:\TEMP\ant-
On Wed, 6 Jul 2005 11:07:37 -0400, Liying Miao wrote:
>C:\UPORTAL>set ANT_HOME=./Ant_1-6-2
Try backslashes, and a FULL path, not a relative one.
Ciao, Jürgen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
25 matches
Mail list logo