So, thats sorta the problem...replaceregex works on a file...not on a
property... Ant Contrib's version works on a property itself...
I wrote the macrodef as I did...as I can reuse it over and over...
On Sat, 17 Jan 2009, Georg-Johann Lay wrote:
Georg-Johann Lay schrieb:
Ant proper reall
Georg-Johann Lay schrieb:
Ant proper really is not capable to perform things that look in C like
>> char * prefix;
>> char * path;
>> char * suffix = path + strlen (prefix);
or like
>> String prefix;
>> String path;
>> String suffix = path.substring (prefix.length());
in Java?
Hi, I
Oh I completely understand :) No worries :)
I tend to go overboard with Ant. To be honest, I use it as more than a
build environment...I use it as a cross platform scripting language :)
Anyway, you can probably do the same thing with beanshell or another
scripting language directly from wi
Scot P. Floess schrieb:
I am enclosing my macrodef to compute a branch:
description = "Compute the branch based upon a root dir,
@{root}, and full path, @{full-path}. The branch represents the full
path minus the root dir. Please note: if @{root} does not exist in
@{full-path}
I had a need for something exactly like this...long story but it had to do
with javacc :)
Anyway, my open source project Keros (url is in my sig line) has a lot of
this type of functionality...
I am enclosing my macrodef to compute a branch:
description = "Compute the branch ba
Le 16 janv. 09 à 06:25, Yu, Aaron (IT) a écrit :
Hi,
I have a problem of using Ivy and IvyDE.
At my firm we are in the process of switching to Ivy for managing our
java dependencies. We do not want thousands of developers to resolve
dependencies in different ways so we provide a centralized
Leo Arias F. schrieb:
[...]
>
> So, when test.integration.smoke fails, report is not executed. Todo mal :(
>
> I'll appreciate your help a lot.
> thanks,
> pura vida.
maybe try/catch/finally from antelope or antcontrib is an option !?
see =
http://antelope.tigris.org/
http://antelope.tigris.or
Hello ant.
I'm using the junit task to execute selenium tests using ant and java.
By the way, it's working great. Thanks to those involved in the
development.
Now I need a report of all the tests that were executed. I created a
target called report that combines all the logs and creates a single
Hi,
can anyone assist me in solving this following quite trivial problem?
Given a path A and the current directory B=. derermine B relative to A.
This is needed for prefixes in zipfileset.
In the special case that I am after B is a subdirectory (of some level)
of A. So gettig the relative path
The tag should work too (not sure why it's not)... it's just a
little bit more "hacky".
-Archie
On Fri, Jan 16, 2009 at 10:52 AM, crashmeister wrote:
> Mmm, OK. New user here - I was just using the default that came with IVY.
>
> I'll try the mods, but it would still be nice to have an exceptio
Mmm, OK. New user here - I was just using the default that came with IVY.
I'll try the mods, but it would still be nice to have an exception process.
Archie Cobbs-3 wrote:
>
> Perhaps this issue is evidence that the "runtime" configuration should not
> be extending the "compile" configurati
Ah good point... Sorta had forgotten the fork attribute ;) I seldom, if
ever use this :)
On Fri, 16 Jan 2009, Blaine Simpson wrote:
java and javac will fork or not as described in the Manual for those
tasks. As described there, they will not fork unless you use the fork
attribute to turn o
java and javac will fork or not as described in the Manual for those
tasks. As described there, they will not fork unless you use the fork
attribute to turn on forking.
Using fork="false" (the default) is more efficient, but makes the
execution tightly bound to your Ant environment, and doesn't al
Perhaps this issue is evidence that the "runtime" configuration should not
be extending the "compile" configuration... you may want to refine your
configurations.
-Archie
On Fri, Jan 16, 2009 at 10:12 AM, crashmeister wrote:
>
> I have 'compile' and 'runtime' confs. Runtime extends Compile.
>
>
I didn't think a separate JVM was started for the javac task...
Not sure about invoking it programatically (never done that), but I
wouldn't think so... That would imply using java.lang.Runtime.exec()
On Fri, 16 Jan 2009, robert lazarski wrote:
On Fri, Jan 16, 2009 at 12:11 PM, Scot P. Flo
I have 'compile' and 'runtime' confs. Runtime extends Compile.
Under certain circumstances, I want to use an artifact for compilation, but
NOT for runtime.
Is there any way to block the 'runtime' conf for a dependency ?
I tried this but it did not work:
...
--
View this
Hi,
I am working on "Understanding dynamics of software and organisational
dynamics" and I am using Ant as my sample project. For that, I need
the developers (not committers) log information of ant as that would
help me understand the organisational structure and interactions
happening in Ant devel
On Fri, Jan 16, 2009 at 12:11 PM, Scot P. Floess wrote:
>
> I don't think setting the property as you have done is exactly correct... At
> least once the JVM is up and running... I'd definitely set JAVA_HOME in
> your environment first...before running...
>
Invoking ant programatically starts an
I don't think setting the property as you have done is exactly correct...
At least once the JVM is up and running... I'd definitely set JAVA_HOME
in your environment first...before running...
On Fri, 16 Jan 2009, robert lazarski wrote:
On Fri, Jan 9, 2009 at 5:42 PM, Scot P. Floess wrote:
On Fri, Jan 9, 2009 at 5:42 PM, Scot P. Floess wrote:
>
> Uh yeah...
>
> Your JAVA_HOME should point to /usr/local/jdk1.6.0_11
>
Well, I tried this:
System.setProperty("java.home", "/usr/local/jdk1.6.0_11");
Project project = new Project();
...
project.executeTarget(project.getDefaultTarget());
On Sat, Jan 10, 2009 at 4:50 PM, Brian Stephenson <
bstephen...@thortech-solutions.com> wrote:
> Let me talk from a conceptual point of view. In case number 2, big question
> is if you need to save the existing older local file if there is a newer
> source file, before trying to get the newer one,
21 matches
Mail list logo