Does anyone have any good examples of normalizing paths in files?
I have files that have paths like this in them:
../../foo.htm
Which I process to make fully-qualified like this:
/abc/def/ghi/jkl/mno/../../foo.htm
Now I want to normalize the fully-qualified paths to remove the "../" parts
to
Hi,
I have an ant build process, that needs to rely on some component built by
maven.
How can I run the maven build from ant?
Just using the exec?
Did anyone did it?
Thanks
--
View this message in context:
http://www.nabble.com/How-do-I-run-maven-build-from-ant-tp22695495p22695495.html
Sen
Francisco,
Francisco Peredo wrote on 03/24/2009 02:56 PM:
We download stuff at our houses, and then copy them in usb portable storage
and bring them to work.
[...]
So, we want to upload our WEB-INF\lib .jar files (for hibernate, seam,
spring, commons, etc) in to a shared repository to a serve
hello,
i don't know if i have to post this question n the ant users list or in
the tomcat users list???
is anybody has ever done this: deploy with the ant task under https?
the manager running in https mode and the deploy task does not work:-(
so, is it possible to deploy under https?
regards
Nicolas (or anybody, but practically, Nicolas):
I am trying to use the WorkspaceResolver in IvyDE 2.0.0beta1 to resolve
project dependencies in Eclipse where the dependency is not found any any repo
(yet, anyway). I have selected "Resolve dependencies in workspace" in the
global Ivy setting
Gilbert Rebhan schrieb:
> Gilbert Rebhan schrieb:
>> David Weintraub schrieb:
>>> On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote:
>>> That doesn't work. See:
>>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
>> [...]
>>
>> you may try the task from antcontrib,
>> i beli
Hi!
Where I work we have a heavily restricted and extremely slow Internet
access, so letting Ivy download the dependencies for us from the web is just
not an option.
We download stuff at our houses, and then copy them in usb portable storage
and bring them to work.
The problem is that we did no
Gilbert Rebhan schrieb:
> David Weintraub schrieb:
>> On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote:
>>>
>> That doesn't work. See:
>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
> [...]
>
> you may try the task from antcontrib,
> i believe the variable task from antelop
I would like to list dependencies in rereport that only contain a
certain organization. This is to be able to see the dependency graph
of our local components. Including all the other dependencies makes
for a huge mess of a graph.
According to the documentation there doesn't seem to be a way to
David Weintraub schrieb:
> On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote:
>>
>
> That doesn't work. See:
> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
[...]
you may try the task from antcontrib,
i believe the variable task from antelope will work too.
see=
http://marc
You can invoke macros easily from Java or Groovy. Groovy is easier,
but if you want to write a task, it isn't too difficult. You can check
out the various macroforeach tasks around to get an idea of what you
need to do. Or just invoke it from groovy like:
ant."${x}"(...)
Pretty certain t
On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote:
>
That doesn't work. See:
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote:
>
> Hi,
>
> I have created 2 property files:
>
> test1.properties :
> Project1-URL=http://localhost:9080/
I have a newbie question:
new.classpath and old.classpath are known definitions? otherwise- what
should be the real values?
Eyal
David Weintraub wrote:
>
> So, you already have a classpath defined, and you just want to add an
> additional JAR to it?
>
> If you have that path as a property:
>
_
Get quick access to your favorite MSN content with Internet Explorer 8.
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A
-
To
So, you already have a classpath defined, and you just want to add an
additional JAR to it?
If you have that path as a property:
If you have that previous path as a reference:
Or, you can cheat (For example, this is for a task):
Note that the colon in the value fo
Well I assume it would be easy to write a contributed task
similar to the one that I describe above. The only thing I'd
need to know is how to execute a macro with a given name from
within a Task implementation...
> I understand what you mean now. You want all possible values
> to be taken car
I understand what you mean now. You want all possible values to be taken
care of. Not sure if I can think of anything off-hand that would do that.
On Tue, Mar 24, 2009 at 1:30 PM, Felix Dorner wrote:
> Hey David,
>
> Thanks for your suggestions.
>
> > Well the only reason I specified the method
Hey David,
Thanks for your suggestions.
> Well the only reason I specified the method below is that you
> asked what could be done with ant-core.
> However, if you're able to use ant-contrib, then you can
> simplify it a little more using the ant-contrib task.
Of course this is a possibility,
Well the only reason I specified the method below is that you asked what
could be done with ant-core.
I don't think you can do much more than what I've suggested.
However, if you're able to use ant-contrib, then you can simplify it a
little more using the ant-contrib task.
So:
This approach would make the macros obsolete. Instead I
would move the macro code into the targets you mention, and could do
This is actually how my build file currently looks like. But I
want to switch to macros as they are more lightweight and controllable.
Felix
> You'd probably be better
You'd probably be better have individual properties as flags for each macro.
So something like:
So you set individual properties depending on the value of ${x}. The
individual properties can then be used to determine whether particular
targets containing each macro are run.
Hi Ant users,
I have three macros: a, b, c, and a property 'x'. Is there a way to execute the
macro ${x}, i.e. a if ${x}=a, b if ${x}=b, c if ${x}=c, (fail otherwise) with
ant core? Something like
Thanks,
Felix
-
To unsubscri
Hi,
I have created 2 property files:
test1.properties :
Project1-URL=http://localhost:9080/dummyURL1
Project2-URL=http://localhost:9080/dummyURL2
test2.properties :
name1=Project1
name2=Project2
and the ant target is :
For Below tag I should get the
http://localhost:9080
Wow
This add the yourjar.jar to yourold.classpath?
Thanks
Eyal
Knuplesch, Juergen wrote:
>
>
> This is possible of course!
> Just this way e.g.:
>
>
>
>
>
>
>
> memorymaximumsize="900M"
>
This is possible of course!
Just this way e.g.:
mailto:eyal_go...@bmc.com]
Gesendet: Dienstag, 24. März 2009 08:43
An: user@ant.apache.org
Betreff: SPAM Re: AW: SPAM Re: AW: SPAM Adding specific
jar to classpa
Hi,
The problem is that I want to add to the classpath it a jar, not replace
it...
Eyal
Knuplesch, Juergen wrote:
>
> Hi,
>
>
> Of course.
> The javac task has a nested classspath element and classpath attribute and
> you can add a classpath reference...
> Read the Ant doku about javac to l
Hi,
Of course.
The javac task has a nested classspath element and classpath attribute and you
can add a classpath reference...
Read the Ant doku about javac to learn how to do it:
http://ant.apache.org/manual/
Greetings
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Hi,
I would like to add it to the javac classpath...
But - without touching the ant directories, just using the ant commands, is
it possible?
Eyal
Knuplesch, Juergen wrote:
>
> Hello
>
> What do you want to do with this jar?
> Add it to Ant or use it to javac sth. Or else?
>
> To integrate
28 matches
Mail list logo