Thanks again, that worked better.
Matt Benson wrote:
>
>
> --- srimh2o <[EMAIL PROTECTED]> wrote:
>
>>
>> Thanks, that worked.
>>
>> This is not just for testing purposes. My piece of
>> build.xml looks like
>> this:
>>
>> > destfile="testing.jad">${attrib}
>>
--- EJ Ciramella <[EMAIL PROTECTED]> wrote:
> The larger problem was, addFileset versus
> addConfiguredFileset.
>
> Then once that worked (as it would just keep saying
> I have to set the
> "dir" attribute - which was set), then I noticed
> that you could do
> fileset.getDirectoryScanner(getProj
--- srimh2o <[EMAIL PROTECTED]> wrote:
>
> Thanks, that worked.
>
> This is not just for testing purposes. My piece of
> build.xml looks like
> this:
>
>destfile="testing.jad">${attrib}
>
>
>
The larger problem was, addFileset versus addConfiguredFileset.
Then once that worked (as it would just keep saying I have to set the
"dir" attribute - which was set), then I noticed that you could do
fileset.getDirectoryScanner(getProject()) and from that I could do
ds.getIncludedFiles() and get
--- EJ Ciramella <[EMAIL PROTECTED]> wrote:
> Yeah, kinda strange, why would you want a fileset
> vector of just the
> File.getName() instead of File.getAbsolutePath()?
>
What exactly are you trying to accomplish? Beyond Ant
1.7, it's quite easy to take the iterator() of a
fileset, knowing it
Thanks, that worked.
This is not just for testing purposes. My piece of build.xml looks like
this:
${attrib}
In case anyone else runs into this problem. The problem was eventually
traced to collisions in the repository cache. Once we updated the cache
pattern settings in our settings.xml file we could correctly use the
attribute in our dependencies.
Ross Camara
Software Developer
[EMAIL PROTECTED]
Yeah, kinda strange, why would you want a fileset vector of just the
File.getName() instead of File.getAbsolutePath()?
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2008 3:09 PM
To: Ant Users List
Subject: RE: using filesets in a custom task
---
--- EJ Ciramella <[EMAIL PROTECTED]> wrote:
> The next bit is how to get the fully qualified path
> to the fileset if it
> is for a list of files outside of your current
> working directory.
>
> Any takers?
>
You are using Ant 1.7 or 1.7.1? By "path to the
fileset" you mean basedir? A filese
The next bit is how to get the fully qualified path to the fileset if it
is for a list of files outside of your current working directory.
Any takers?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2008 2:56 PM
To: Ant Users List
Subject: RE: usi
Wow - as simple as the difference between addFileset(FileSet f) and
addConfiguredFileset(FileSet f).
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2008 11:57 AM
To: Ant Users List
Subject: RE: using filesets in a custom task
Any other suggesti
On Wed, Jul 30, 2008 at 3:34 PM, Foreman, Alex (IT) <
[EMAIL PROTECTED]> wrote:
> Hi,
>
> We use a custom version matcher that loads in default values from a
> property file and when rev="default" we look for a property called
> 'org.module.default' and use that value.
>
> E.g.
> Apache.ivy.defaul
--- srimh2o <[EMAIL PROTECTED]> wrote:
>
> If this is complicated is there any way I can insert
> a linebreak between
> Hello and World?
If you're just doing this for testing purposes, Ant
loads all Java system properties, so you can insert
your platform separator by simply embedding
${line.sep
If this is complicated is there any way I can insert a linebreak between
Hello and World?
srimh2o wrote:
>
> Ahh, this is verbatim, but you are correct. The \r\n does not substitute
> for CRLF (0x0d, 0x0a). Then what I would like to do is somehow specify
> Hello world and then get the output as
You can look at the AntContrib's task.
This allows you to "try" a particular task, and handle the failure
yourself, including the option not to fail.
--
David Weintraub
[EMAIL PROTECTED]
On Mon, Aug 4, 2008 at 8:42 AM, Rajeswar Reddy
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I am getting bel
Ahh, this is verbatim, but you are correct. The \r\n does not substitute for
CRLF (0x0d, 0x0a). Then what I would like to do is somehow specify Hello
world and then get the output as:
Hello
World
Any suggestions on how to do this?
Thanks.
Scot P. Floess wrote:
>
> Is this verbatim? If so,,
Is this verbatim? If so,, part of your problem is the literal characters
\r and \n are note the escaped counterparts...
Meaning if I had this:
Hello r n World
The r and the n are literals...and you'd see the same output as you are
seeing now...
On Mon, 4 Aug 2008, srimh2o wrote:
Hi,
Hi,
I have a string input that contains carriage return "\r\n" and I'd like to
use ant to split that input into two separate lines. This is what I do.
Hello \r\n World
I'd like the output to look
Any other suggestions from anyone? Why does ant thing I'm not supplying
the "dir" attribute to the flieset?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2008 3:16 PM
To: Ant Users List
Subject: RE: using filesets in a custom task
No exception
Hi there,
I have zip file with several modules inside. I am using Eclipse classpath
variables in my development environment. i am using commandline compiler
which calls headless eclipse to compile my project. As Eclipse classpath
variables are limited to workspace, compiler failed to resolve the
va
Hi All,
I am getting below issue, please let me know how to work on this.
Issue discription:
http://www.nabble.com/Ant-sequential-block-issue-tp18810542p18810542.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
21 matches
Mail list logo