Using HEAD you could use a BSF scripting language with .
Maybe you want to send a patch for ;-) ?
Jan
>-Ursprüngliche Nachricht-
>Von: Bill Rich [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 5. August 2005 08:39
>An: 'Ant Users List'
>Betreff: RE: containsregexp selector Ant 1.6.5
>
Thank you very much. This is what I thought might be the case. I will
probably pursue writing my own custom selector for this task.
Bill
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 10:20 PM
To: user@ant.apache.org
Subject: AW: cont
Yes, they look almost the same in this case. But this
is only to see if "import" works. Acctually I have
complex requirement on .
Please note in my case running "ant -f c.xml" was ok;
and calling a.xml in .java ok too.
Thanks,
Amy
--- [EMAIL PROTECTED] wrote:
> An ed file is (nearly) the same
For catching in several lines you usually have to set a flag ("m" I think).
I dont know if you can specify the flag inside the expression. The selector [1]
doesnt
support specifying flags directly.
Jan
0120:if (myRegExp == null) {
0121: myRegExp = new RegularExpression();
012
Thanks Jan, you raise a good point about missing child classes. I don't have
any of them at the moment but I should allow for it.
But my main question is why does the containsregexp selector miss the files
where there is a line break? Do I need to change something to use a
different regexp impleme
An ed file is (nearly) the same as coded directly inside (at the end
of) your main buildfile.
Jan
>-Ursprüngliche Nachricht-
>Von: M. Z. [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 5. August 2005 05:28
>An: user@ant.apache.org
>Betreff: How to call imported ant target/task in Java
>
>
I would catch only ListResourceBundle, write them to file and have any eye on
them:
- you dont catch imports
- you dont catch childs of childs
public class MyRB extends LRB01 {...}
public class LRB01 extends java.util.ListResourceBundle {...}
Jan
>-Ursprüngliche Nachricht-
>Von: Bil
Hi there,
Can anybody advice me how to call an ant target/task, which is ""ed
from another build file, from within Java code?
Here's my Java code (I got the sample from this mailing list, thanks):
-
import org.apache.tools.ant.*;
import java.io.*;
im
Hi,
I'm trying to run a class which uses Bouncycastle cryptography. It runs
fine when called directly from commandline java, however it won't run
from within an Ant task:
[java] java.io.IOException: exception encrypting data -
java.security.NoSuchProviderException: JCE cannot authenticate the
pr
Hi all,
I'm using the following snippet to SCP a file from a remote machine to
my local machine. The output looks fine (although I can't get it to
be more verbose, no matter what I try). However, I don't get a local
copy of the file even though it says "done" and BUILD SUCCESSFUL. Any
ideas. I
Hi All,
I am trying to use a fileset to find all the Java ListResourceBundle files in a
product. I am trying to use the following:
Works great if "class", "extends", and "ListResourceBundle" are on the same
line in a file. If there is a line break in there a
Looks like I have to resort to the filemapper then.
I was happy just zipping the whole thing up! But powers-that-be, requested
it, all the specified files to be in 1 place rather each file being under
its matching subdir causing a headache to the clients.
At least, I now know that it wasn't
I don't see a way to do that directly with zip/zipfileset. You could
try copying (with the flatner) to another directory first, then
zipping them up. This seems like a headache to me. Why do they need
to be at the top level? Copying around lots of files typically slows
builds way do
Under the parent directory, I have about 50 subdirs which contain multiple
file extensions but I'm only interested in pulling & copying the *.rdl files
and zip them up.
Somebody suggested I should look into filemapper or globber...would those
work?
Thanks
Original Message Follows
Fr
I did both of these and they didn't work for me. However, the examples you
created, is exactly what I want to achieve. Do both items that you
mentioned work for you? Then I must be doing something wrong?! I set the
value of 'filesonly' to yes, true, and on in every variation imaginable:
UPP
Thanks. I will look at it to see if I can get it to work.
Original Message Follows
From: "Shatzer, Larry" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: 'Ant Users List'
Subject: RE: Ant Zip Task
Date: Thu, 4 Aug 2005 13:44:32 -0700
MIME-Version: 1.0
Received: from mail.apache.org
never mind, neither of my suggestions work - I'm looking into this
now. . .
How many files and directories?
On Aug 4, 2005, at 4:50 PM, EJ Ciramella wrote:
so you have the following:
/some/path/to/a/file/file1.txt
/some/path/to/another/file/file2.txt
and in the zip, you want:
/file1.txt
so you have the following:
/some/path/to/a/file/file1.txt
/some/path/to/another/file/file2.txt
and in the zip, you want:
/file1.txt
/file2.txt
Try the task's filesonly attribute and if that isn't enough,
try the 's fullpath attribute and set it to "/".
?
On Aug 4, 2005, at 12:08 PM, S
You might want to look at the mapper.
http://ant.apache.org/manual/CoreTypes/mapper.html
> -Original Message-
> From: S I [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 04, 2005 9:08 AM
> To: user@ant.apache.org
> Subject: Ant Zip Task
>
>
> Hi
>
> I'm trying to zip up bunch of f
The forums are quiet with deafening silence. No one has responded to my
question; 2nd time asking. :)
Which brings me to this next poll:
POLL:
1. Am I blacklisted?
2. My question is not challenging enough?
3. Everyone's on vacation?
4. I need BlackFlag or bug spray to deal with Ant?
5. Ant ha
Hi
I'm trying to zip up bunch of files in many subdirectories undrer their
parents directory but all the subdir names and paths are getting included in
the zip file. The include attribute is not doing it for me. Is there a
trick to this? I just want the files w/o any paths.
Thanks
Steve
I often use a single property file and propertysets with a glob mapper.
Build.properties
default.tomcat.home=/usr/local/tomcat
default.tomcat.port=8080
life.tomcat.home=d:/tomcat5.0
life.tomcat.port=${default.tomcat.port}
test.tomcat.home=${default.tomcat.home}-testing
test.tomcat.port
yes indeed.
I was going to provide the same advice, as i am using prefixed properties files
to get rid of the if-then-else idiom.
Hind Lwahhabi.
Accenture Belgium - Financial Services & Insurance
Koningstraat 145 Rue Royale, B-1000 Brussels, Belgium
mobile: +32 499567544
phone: + 32 2 226 75 44
E
wow! sounds complexe indeed:)
just a first tip: did you take a look at ant-contrib task to solve
your immutable properties issues?
Hind Lwahhabi.
Accenture Belgium - Financial Services & Insurance
Koningstraat 145 Rue Royale, B-1000 Brussels, Belgium
mobile: +32 499567544
phone: + 32 2 226 75 44
I believe I'm in the same performance boat as Ullrich Pollähne which he
describes in the thread "Performance difference between 1.6.1 and 1.6.4 (in
eclipse)".
I'll take a stab at using the Performance Listener from antcontrib to see if I
can pinpoint the slowdown.
-Original Message-
Fr
Just a note: I like the idea of using property-files
life.properties
tomcat-home=d:/tomcat5.0
test.properties
tomcat-home=/usr/local/tomcat-testing
port=8081
dev.properties
tomcat-home=/usr/local/tomcat-dev
port=8082
jprobe.properties
tomcat-home=/usr/local/tomcat-jp
Hi all. Short time lurker, first time poster but I did search the
archives! I'm pretty sure I can hear list regulars groaning at my
subject line but here goes.
I'm build manager for a fairly chunky Java webapp with an overly
complex Ant 1.5 build script that I am refining using the new features
in
List subscribers may be interested to see the presentation I gave last
month at apachecon europe, which looks at leading edge features of
Ant1.6, forthcoming stuff in ant1.7, and interesting things from third
parties.
http://www.1060.org/blogxter/resources/5/ant-1.7.pdf
Note that these are
Hi,
i try to compile and link a projekt with the ant-cctask. I uses the Borland
CBulider compiler. The compile works but if its linking i got an error:
[cc] ilink32 /ap -fo MyFile.exe
..\..\..\..\..\Development\Borland\CBuilde
r5\Lib\cw32.lib ..\..\..\..\..\Development\Borland\CBuilder
Dick, Brian E. wrote:
I'm currently using the 12/1/4 nightly build of 1.7alpha. I tried the GA
build of 1.6.3, but the performance was horrible. A full build of my
application using 1.7alpha takes about 15 minutes. It took 1.6.3 over an
hour to do the same build.
Have these performance issues be
30 matches
Mail list logo