Hi Everyone,
I seem to have an issue with an exec task not closing the ssh connection
it opens. Basically we use CruiseControl and Ant to build and deploy
our code. In the CruiseControl build.xml I have an ant task that ssh's
to a remote server and starts a shell script. Once the script comp
Then maybe you could accomplish it by doing a copy command. Copy the file from
its source to where you stage the war file, either before you execute the war
task or within the war task. After I usually run my clean target, I do all my
staging in the init target even if the compiled classes pat
On 2010-02-12, Knuplesch, Juergen wrote:
> Thanks for the link, but either I did not understand the docu correct
> or sth. wrong:
indeed there is something wrong, a step is missing.
> 6.init() is called at run time.
> 7.All child elements of the XML element corresponding to this task are
> crea
On 2010-02-12, Knuplesch, Juergen wrote:
> Hello,
> I read about the init() methos in Stefans link about the life cycle of an ANT
> task:
> 6.init() is called at run time.
> I did not find documentation for this.
> Is init() a static method or wht else?
No. init() is a method in the Task cla
Hello,
I read about the init() methos in Stefans link about the life cycle of an ANT
task:
6.init() is called at run time.
I did not find documentation for this.
Is init() a static method or wht else?
Greetings Juergen
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus Gm
Hello,
Thanks for the link, but either I did not understand the docu correct or sth.
wrong:
6.init() is called at run time.
7.All child elements of the XML element corresponding to this task are created
via this task's createXXX() methods or instantiated and added to this task via
its addXXX(
On 2010-02-12, Knuplesch, Juergen wrote:
> So I now start the application in every method that "runs" a nested
> element. E.g. addConfigured... and some others.
> Is this a good way to do it?
Hard to tell. Maybe it would be better to collect the nested elements
and just do something once execu
Hello,
Thanks for the answers!
I now understood more about the task I investigate:
There are nested elements, that require that the application is started.
The challenge is: Start the application
1.after the setters executed
2.before the nested elements are added.
So the programmer started the
That would work for web.xml - but I would like to copy another, unrelated
properties file from an external dir to the WAR's WEB-INF.
I looked at the examples in the manual, but maybe I am missing something...
On Thu, Feb 11, 2010 at 7:56 PM, Rez P wrote:
>
> Check out the Ant manual, it has some
On 2010-02-11, Josh Stratton wrote:
> I'm using jarjar as I'm told it is useful for bundling jar
> dependencies into a single distributable jar file. I have a problem
> though in how jars are unzipped. This is probably a simple ANT
> question, but I haven't had much luck with finding help on it i
On 2010-02-11, Knuplesch, Juergen wrote:
> In what sequence the setters are executed?
> I guess in the sewuence I wrote them into ma call inside my Antfile.
There is no defined order and in fact I'd be surprised if it was the
same accross all possible combinations of Java VMs and XML parsers.
11 matches
Mail list logo