I'm using Ant 1.6.2 on Windows. I should have given the precise issue:
Where X is a mapped network drive... not that that should make any
difference.
The exact error I'm getting is:
java.io.FileNotFoundException: X:\tmp\success.txt (The system cannot
find the path specified)
-jim-
-Orig
João Augusto Charnet wrote:
> Hello,
> I'm using Fileset to search through a series o files of the same
> extension (say *.jsf). I'd like to know if file set does a depth
> search, ou a width search through out the directories.
> Example:
> Let's say I have the following directory structure:
> ...
Urciolo, Kevin wrote:
>I am using concat to write out configuration files. The text is
>embedded within the concat. What is the best way to write out a new
>line at the end?
>
>thanks
>
>
>
Hello Kevin,
jdbc.host=server1.foobar.com
jdbc.user=joeking
will write a 2 lines file with a line sep
On Fri, 2005-09-16 at 01:09 -0400, Lasher, James L wrote:
> I have defined a property:
>
>
>
> If the /opt/odi/success.txt file does not yet exist, I get a
> java.io.FileNotFound Exception and the build fails.
>
> Is there any way around this? I'd like to just set this property up
> with the n
I have defined a property:
If the /opt/odi/success.txt file does not yet exist, I get a
java.io.FileNotFound Exception and the build fails.
Is there any way around this? I'd like to just set this property up
with the name of a file that will exist later. I imagine I could wait
to set this up
[EMAIL PROTECTED] wrote:
>I'm getting the following error when checking out modules
>>from CVS (with label):
>
>All the files int the CVS module are listed here,
>...then
>cvs checkout: cannot open CVS/Entries for reading: No such
>file or directory
>
>I don't get this if no label is specifi
Thanks. I was suprised to see that Ant didn't have a way to check for the
presence of a file... Obviously I didn't read through the tasks well enough.
Quoting "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>:
> >
> >
> >
> >
> >
>
> You might want to look
--- João Augusto Charnet <[EMAIL PROTECTED]>
wrote:
> Is there any work around I can do to achieve some
> kind of ordering until
> 1.7 comes out?
You could subclass fileset to order things.
> Any idea on when 1.7 is coming out ?
Nothing concrete, hopefully by the end of the year at
the latest.
> Any way to do this with a chgrp and fileset?
>
> find . -gid 205 -exec chgrp producers {} \;
>
> If not, how about an exec? I tried an exec with a single arg line,
> and get a "missing argument to `-exec'"
>
> thanks for your help
Is there any work around I can do to achieve some kind of ordering
until 1.7 comes out?
Any idea on when 1.7 is coming out ?
Thanks .
John
Matt Benson wrote:
;) Correct; 1.7 will have a resource
collection and several included resource comparators.
I didn't want to disappoint the guy, so
>That is strange since I installed Ant and the latest JDK and wrote the
>first example described in O'Reilly book about Ant.
>If even that first example does not work without downloading additional
>classes...
That's not what he means - ant has a number of optional tasks that
require extra jars, a
;) Correct; 1.7 will have a resource
collection and several included resource comparators.
I didn't want to disappoint the guy, so hadn't said
anything.
-Matt
--- Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> I think some of Matt Benson's work on the HEAD (i.e.
> Ant 1.7) branch for
> resource
I think some of Matt Benson's work on the HEAD (i.e. Ant 1.7) branch for
resource collections can do ordering.
Unfortunately that won't help you on 1.6
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
João Augusto Charnet
Le jeudi 15 septembre 2005, à 13:27, Jeffrey E Care a écrit:
>Does your build actually fail?
in fact my build never ends, I have to stop it.
>These types of messages:
>
>> Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
>sshexec
>> Could not load a dependent class (com/jcra
Does your build actually fail?
These types of messages:
> Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
sshexec
> Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
are not that unusual and will not actually break your build; they are just
there to
Thanks for the response.
Is there any way to guarantee the order of the files returned ?
Thanks again ...
John
Jeffrey E Care wrote:
fileset goes not guarantee that the files it matches will be returned in
any particular order. I do believe that it will go depth-first, but within
any give
${line.separator}
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
"Urciolo, Kevin" <[EMAIL PROTECTED]> wrote on 09/15/2005 01:13:39 PM:
> I am using concat to write out configuration files. The text is
> embedded within the con
fileset goes not guarantee that the files it matches will be returned in
any particular order. I do believe that it will go depth-first, but within
any given directory there is no guarantee on the order of the files in
that directory, as this is dependant on the underlying JVM, native
filesyste
Hello,
I tried to use Ant (Ant build file created with oXygen) just for a test on my
Windows XP machine.
Unfortunately I cannot even compile my small test, the system is saying me
that some libs are missing. But when I read the libs names, I believe
that these libs are not related at all to wh
I am using concat to write out configuration files. The text is
embedded within the concat. What is the best way to write out a new
line at the end?
thanks
Hello,
I'm using Fileset to search through a series o files of the same
extension (say *.jsf). I'd like to know if file set does a depth
search, ou a width search through out the directories.
Example:
Let's say I have the following directory structure:
...
|BaseDir
| |
| |Dir1
Look at the line preceding that one in the output. That should tell you the
directory CVS was in when it encountered that error. Then take a look at its
subdirectories. Look for local versions (created manually, not checked out)
of a subdirectory which also exists in the CVS repository. That cou
>
>
>
>
>
You might want to look at the task to ckeck whether or not
the file exists.
-Rob A
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm getting the following error when checking out modules
from CVS (with label):
All the files int the CVS module are listed here,
...then
cvs checkout: cannot open CVS/Entries for reading: No such
file or directory
I don't get this if no label is specified.
Is this normal behavior?
-
Quoting Matt Benson <[EMAIL PROTECTED]>:
>
> This is "the Ant way," ordinarily.
>
I chose "the Ant way";'). Thanks very much for everyones help!
-
This mail sent through IMP: http://horde.org/imp/
--
At 05:42 AM 9/15/2005, [EMAIL PROTECTED] wrote:
Tx but ...
The question was send to the ANT-ML to implement is via ANT... :)
Except that the right way to do this is to create a separate task that
generates the stats, the create a cron job to run ant and perform that task
at night.
What doe
On Thursday September 15, 2005 04:31 am, Giuliano Dessì
<[EMAIL PROTECTED]> wrote:
> I've found an expression that I don't understand: "PR: 11557"
> 11557 is certanly a bug because I've found it in Bugzilla's
> archieves.. But I don't understand what PR means..
PR == "Problem Report". Another nam
It could also stand for Problem Report ...
-Original Message-
From: Ramnish Kalsi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 1:54 AM
To: Ant Users List
Subject: RE: ant log
Previously Reported ?
just a guess ...
:)
-Original Message-
From: Giuliano Dessì [ma
Andy Wickson wrote:
I am really trying to get Ant itself to run using a non-default java runtime
(one I specify). The reasons are very convoluted and I won't bore you with
them.
There seems to be something in the docs about this but I get the feeling
things may have changed recently. I have see
Remember that all that matters is that the property is set to something.
When you pass , you are
setting that parameter for the target you are calling. This means that if
file.exists has not been defined previously, you have just set it to the
value "${file.exists}", and from that point forward
--- Greg Akins <[EMAIL PROTECTED]> wrote:
[SNIP]
>
>
> when="greater" length="0"/>
>
>
>/>
>
>
> value="${destination}"/>
> value="${file.exists}" />
>
>
>
Minesh,
You can use foreach from the ANT contrib.
http://ant-contrib.sourceforge.net/
Jatin Bhadra
www.cmware.co.uk
WebSphere AutoDeploy tool
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 15 September 2005 14:06
To: user@ant.apache.org
Subject: Zip Task to
Hi, im a new user of ant and would like to know if it is possible to zip
multiple files in a directory, but for each file create it's own zip
archive. (e.g. 10 *.txt files in C:\temp to 10 *.zip files in
C:\temp2)?? I don't see any mention of this in the zip task
documentation. Is this possible?
I am really trying to get Ant itself to run using a non-default java runtime
(one I specify). The reasons are very convoluted and I won't bore you with
them.
There seems to be something in the docs about this but I get the feeling
things may have changed recently. I have seen talk of a .antrc fi
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> 1) Thinking if="foo" means "execute the target is foo's property value
> is true (or yes, or 1)". It sounds like you're are not making that
> mistake.
>
Here is the target I'm running (this is the only target in this buildfile, and
fileToCheck &
Many tasks already support incremental builds: javac, copy, move, zip,
native2ascii, etc.
Plus you can always use dependset & uptodate to munge it for tasks that
don't support it.
JEC
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Man
Andy Wickson wrote:
Hi,
I know that using
I can specify the javac that I want to use for a compilation but is it
possible to do this the other way round?
I.e., I want to explicitly specify to Ant the runtime to use for itself at
startup (one which it won't find as default in the $PATH) and
Hi Andy,
are you just trying to ensure that your sources will compile to be, say,
1.3 compliant? This was a problem that I faced for a while and I believe
it was solved on this mailing list. I thought specifying
source/target=1.3 should or would be enough but it is not - you have to
specify t
OK
so checking there is a "0" (zero) in the hours would be an good option for what
I need.
Tx,
\T,
--- Ninju Bohra <[EMAIL PROTECTED]> wrote:
> One way is to use the task with a custom pattern to contain only the
> hour (in 24hour
> format). Then using the task (from the ant-contrib proje
Tx but ...
The question was send to the ANT-ML to implement is via ANT... :)
\T,
--- "J. David Boyd" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> writes:
>
> > Running the stats on our code is a rather lenghty process (currently +/-70
> > minutes)... I therefore consider to run the target
Hi,
I know that using
I can specify the javac that I want to use for a compilation but is it
possible to do this the other way round?
I.e., I want to explicitly specify to Ant the runtime to use for itself at
startup (one which it won't find as default in the $PATH) and then use the
default j
Previously Reported ?
just a guess ...
:)
-Original Message-
From: Giuliano Dessì [mailto:[EMAIL PROTECTED]
Sent: 15 September 2005 09:32
To: user@ant.apache.org
Subject: ant log
Hi all.
I'm a student and I'm working to a tesi about Open Source Projects.
Now I'm parsing ant logs to ext
Nicolas,
As a matter of fact i am using and with some specific compilers
for non-java code.
-Original Message-
From: Nicolas Vervelle [mailto:[EMAIL PROTECTED]
Sent: Thu 9/15/2005 10:04 AM
To: Ant Users List
Subject: Re: incremental builds
Hi,
I would say that it depends on the task
Hi all.
I'm a student and I'm working to a tesi about Open Source Projects.
Now I'm parsing ant logs to extract information about bugs.
I've found an expression that I don't understand: "PR: 11557"
11557 is certanly a bug because I've found it in Bugzilla's archieves..
But I don't understand what
Hi,
I would say that it depends on the tasks you are using. A few examples :
- for , you can use to check dependency
- for , by default only newer files are copied
You can always use , if/unless in and other tools to
do your own up to date tests.
Which tasks are you considering to use
Hello folks,
I am not sure you can do this in Ant but anyway i am asking the question:
-Is there a way to perform incremental builds using ant scripts, i.e build only
what has changed?
If so does it rely on some manual-scripts-timestamp-moulinette or is there a
smarter manner to do so?
Thanks fo
Thanks a lot Andrew.
I came nearly to the same conclusions, except that i am willing to use maybe
perl scripts instead of batch/shell scripts.
-Original Message-
From: Andrew Goktepe [mailto:[EMAIL PROTECTED]
Sent: Wed 9/14/2005 3:33 PM
To: Ant Users List
Subject: Re: moving from windo
47 matches
Mail list logo