I don't have a suggestion, although I can tell you that I only created
the Post task to do a simple post. It is not a full http client, and
won't follow a redirect. It was really designed for posting build
results to a servlet. You might look at the newer http tasks in Ant
itself since they
I've been trying to add what should be trivial to an ant build file. I
want to create a symlink if it doesn't already exist.
My environment:
Apache Ant version 1.7.0 compiled on September 23 2007
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM
Here is two examples...hope this helps.
http://1.2.3.4/repos/address/I/want/updated
c:/1.2.3.4/repos/address/I/want/updated " />
Or try this...
Hi,
2008/4/30 MaxSteel <[EMAIL PROTECTED]>:
>
> So from my research, I am using jsch on apache-ant v1.7.0
>
> Also, the type of keys I am using on these servers is known as "tectia
> keys".
I don't know about "tectia keys",
but jsch only accepts private keys in openssh format.
--
On Wed, Apr 23, 2008 at 5:55 AM, Paul Richards <[EMAIL PROTECTED]> wrote:
> So my question is how to specify the path to cl.exe neatly? Can the
> path to cl.exe be specified manually to cctask?
Not that I remember.
> Does Ant support calling itself in a neater way that
> doesn't require spawn
So from my research, I am using jsch on apache-ant v1.7.0
Also, the type of keys I am using on these servers is known as "tectia
keys".
No known_hosts file is created, only a directory called "hostkeys" in
home/user/.ssh2/hostkeys is created with separate public keys in separate
fies in this dir
I think that does it. I just stuck all catalog related items on the
classpath:
On Tue, 2008-04-29 at 18:53 +0100, Dave Pawson wrote:
> 2008/4/29 Robert Koberg <[EMAIL PROTECTED]>:
> > Hi,
> >
> > I am having an on-off i
I haven't tried svn update, but svn checkout worked great. However, I am using
the pure Java svn plugin with great success.
---
Shawn Castrianni
-Original Message-
From: Alex Miller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 29, 2008 12:46 PM
To: Ant Users List
Subject: Re: ant and
2008/4/29 Robert Koberg <[EMAIL PROTECTED]>:
> Hi,
>
> I am having an on-off internet connection day and it has shown that
> either my usage of xmlcatalog is wrong or it does not work. I am using
> ant 1.7.0 with all of the xerces 2.9.1 distro's jars in ant's lib
> directory (resolver.jar, seri
I've rely heavily on svn but I could not get the svn task to work
either. Instead, I just use exec like this:
I know this isn't a solution, but it's a workaround that might help you
until somebody c
Hi,
I am having an on-off internet connection day and it has shown that
either my usage of xmlcatalog is wrong or it does not work. I am using
ant 1.7.0 with all of the xerces 2.9.1 distro's jars in ant's lib
directory (resolver.jar, serializer.jar, xercesImpl.jar and
xml-apis.jar). I also have s
Does anyone use the svn task in there ant scripts? I am trying to use svn
update in my ant script and it just does not seem to work.
this is what I have in my script:
http://1.2.3.4/repos/address/I/want/updated"/>
And this is what it says when the step is run:
Svn
Hi David,
That worked. :-)
Tx a lot.
Regards,
Tanuja
On 4/29/08, David Weintraub <[EMAIL PROTECTED]> wrote:
>
> The appxml property should be your application.xml and not a path to
> it. Here's what my ear task looks like:
>
> destfile="${deploy.dir}/@{app.name}.ear"
>manifest="@{manif
So (obviously) you'll need to download the xmltask.jar and reference it thus:
ant -lib xmltask.jar build.xml
(or put it in your Ant lib directory or somewhere on your classpath. The
Ant manual will advise you appropriately).
To do the below, a suitable XMLTask invocation would be:
The appxml property should be your application.xml and not a path to
it. Here's what my ear task looks like:
Interesting note: Although the application.xml file was in the correct
place in my fileset, I have to point to it via the appxml parameter,
then exclude it from my fil
Hi Brian,
that seems to be exactly what I want.. But I'm really new to this and didn't
understand how to do it.. for me, that's very complicated. Let me explain my
situation:
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
java:/comp/env/jdbc/pmpcDS
If you're doing XML stuff, you could use XMLTask.
http://www.oopsconsultancy.com/software/xmltask/
Specifically for what you want to do, XMLTask can perform a remove and
uncomment.
http://www.oopsconsultancy.com/software/xmltask/#usage.uncomment
Brian
On Tue, April 29, 2008 14:09, Alberto Ivo
hello people..
here I am again.. this time I would like to know how to use this tag:
Makeurl
I didn't understand what I read at the official site:
Sets the property m2.repository.url to the file: URL of the local Maven2
repository.
Set the property codebase to the three URLs of the files pr
hello guys...
I just subscribe the list.. this is my very first post here..
I have a situation here... I would like to know how to substitute some line
code via ant. let me explain better:
In my hibernate.cfg.xml I have the lines:
java:/comp/env/jdbc/pmpcDS
jd
Hi all,
I am using Ant 1.7.0.
I tried using the ear task in my build.xml. It gives me the corresponding
ear but it doesnt include the application.xml
I tried using the metainf task too. But still it doesn't include
the application.xml in the ear.
It gives me the following warning
*app-ear*:
Hi,
I am trying to post data to an API say http://localhost/save which in turn
calls create or update based on whether the passed id exists in Database or
not.
http://localhost/myapp/save?id=2167";
verbose="true" file="C:\test.properties">
Problem is when i hit save with above code whic
Bug 44900
2008/4/29, Xavi <[EMAIL PROTECTED]>:
>
> Hi,
>
> Ok, Im preparing a testcase (it doesnt work only when executing ant from
> java, using ant's api), and I will open a bug with testcase attached.
>
>
> 2008/4/29, Peter Reilly <[EMAIL PROTECTED]>:
> >
> > can you make a selfcontained build.
>
> Hi all,
>
> I am using Ant 1.7.0.
>
> I tried using the ear task in my build.xml
> It gives me the corresponding ear but it doesnt include the
> application.xml
>
> I tried using the metainf task too. But still it doesn't include the
> application.xml in the ear.
> It gives me the following war
Hi,
Ok, Im preparing a testcase (it doesnt work only when executing ant from
java, using ant's api), and I will open a bug with testcase attached.
2008/4/29, Peter Reilly <[EMAIL PROTECTED]>:
>
> can you make a selfcontained build.xml that shows the
> problem, this will help in tracking down the
24 matches
Mail list logo