Hi,
I am relatively new to FreeBSD and ANT.
I wanted to fire a command on FreeBSD box from a windows box. I am using
task to accomplish my task.
I have downloaded jsch-0.1.21.jar and copied it to lib folder of ANT. Following
is by build file.
I am getting following error on running
I just want to know if I have this coded correctly for ant 1.6.0 in
order to get a specific amount of memory for the JVM:
Is this correct? I'm running a program that s
Thanks Brian
In my case i don't know the number elements in the XML (it can vary)
for. e.g
I can have
or just
Brian Agnew wrote:
This isn't really an xmltask issue (in which case
[EMAIL PROTECTED] is the list to point to). xmltask
will just read your XML file 'as is'. How
This isn't really an xmltask issue (in which case
[EMAIL PROTECTED] is the list to point to). xmltask
will just read your XML file 'as is'. However you can solve the below
using xmltask using something like (and I haven't tested this but it
should give you an idea):
and so on, prior t
Okay let me explain a bit more.
I have to read a path from an XML. The XML is constructed by somebody
else and he/she knows the path relative to a root dir only.
So the path in the XML can be ${myapp1.dir}/common/jsp.
The build script that reads this XML can resolve this myapp1.dir dir.
So is
This whole discussion should be continued on the
userlist user@ant.apache.org . It has long since
ceased sounding like a developer list discussion.
br,
Matt
--- "koden (sent by Nabble.com)" <[EMAIL PROTECTED]>
wrote:
>
> When I do the xml_edit.execute(); I get this error:
>
> [versionupdateta
Hi
I am trying to read a path from an XML file.
For e.g here is an XML
And the section of the ant build file looks like this
inheritAll="true" inheritRefs="true">
The values of the variables myapp1.dir,
I do it with Jython as following, but, depending on what you actually
need to do, it can be done easier by filtering all values via LinkedHashSet:
timt asml wrote:
Hi,
We've recently moved part of our build environment from traditional
unix make to
ant, and we're encounte
Because the first one is part of a selector.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
"Tardif, Sebastien" <[EMAIL PROTECTED]> wrote on 08/18/2005 01:41:31 PM:
> This work:
>
>
>
>
>
>
>
I -still- do this occasionally and smack myself really
hard afterwards. From the manual:
Selectors are available as nested elements within the
FileSet. If any of the selectors within the FileSet do
not select the file, the file is not considered part
of the FileSet. This makes a FileSet equivalen
--- timt asml <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We've recently moved part of our build environment
> from traditional
> unix make to
> ant, and we're encountering some problems (ant
> 1.6.2, by the way)
You are encountering problems, or you are anticipating
problems? preserves order, so
A while back Stefan added support to CVS HEAD
for a element that should
do what you want. It was based on Dominique's code
IIRC.
-Matt
--- Mark Benussi <[EMAIL PROTECTED]> wrote:
> Um Rock and roll... thanks for that.
>
> I will have to get my head round the code as I am
> not too good at t
This work:
But this doesn't:
And I received no error message so it's a valid Ant XML.
Anybody understand why the second version doesn't work?
What's the logic of the test?
I'm using ANT 1.6.5 which is the l
source="1.4"
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Ninju Bohra <[EMAIL PROTECTED]> wrote on 08/18/2005 01:17:04 PM:
> Hello all,
>
> We are (finally !!!) starting to look at Java 1.5 at
> our project site. And the f
Hello Ninju,
--- Ninju Bohra <[EMAIL PROTECTED]> wrote:
>
> How do I get 1.4 bytecode emitting using the
> task with jdk1.5.0_04
Well, can you try with
Regards
Ivan
Start your day with Yahoo! - make it your home page
htt
Hello all,
We are (finally !!!) starting to look at Java 1.5 at
our project site. And the first step is to build our
code using the 1.5 JDK but in 1.4 compliant mode.
After installing jdk1.5.0_04, I modified my to
the following:
.
.
Note, the compiler
--- [EMAIL PROTECTED] wrote:
[SNIP]
> maybe a nested would be useful
>
> ...
>
> mmh javadoc [1,2] sais that it´s there ...
Wow, I didn't know anybody even used these in Ant
core, much less in extensions. How gratifying. ;)
-Matt
>
>
> Jan
>
>
>
> [1]
>
http://jakarta.apache.org/tomcat/
Hi all,
I found the problem can be solved by following build script.
Leon
--- Leon Pu <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> the exec task always failed while executing a bat which in a
> different
> level directory compare to basedir.
>
> Here is the sample file system of my buil
Hi all,
the exec task always failed while executing a bat which in a different
level directory compare to basedir.
Here is the sample file system of my build script. The directory
"a/b-1" is the basedir of ant build file build.xml.
[file-system]
a
|-- b-1 (basedir)
| `-- build.xml
`-- b-2
1 is not a successful error code. Probably means devenv is not in your Path.
I always add failonerror="true" to . Then you'll see that it fails.
Fix up your Path to have devenv found correctly. --DD
> -Original Message-
> From: Karunakar Chatla [mailto:[EMAIL PROTECTED]
> Sent: Wednesday,
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman
>
> The xslt task has a parameter sub-element. How can I pass the current
> xml file name being processed to the stylesheet?
You can't, AFAIK. Use Ant-Contrib's task to call for each
individual file. Will be slower since will reco
Probably by using the + selectors in your second .
Note that your jlib.gate property will need to be relative to basedir for
your scheme to work correctly, but I suspect you already know that. --DD
> -Original Message-
> From: timt asml [mailto:[EMAIL PROTECTED]
> We've recently moved p
> From: [EMAIL PROTECTED] [mailto:eph1v3t8-
>
> Is there some way to use a mapper to translate one list of files into
> another?
>
> And, how would I generate a list that skips over the directories that
> don't exist under src?
>
> (Should I just give up and write a perl script?)
Perhaps, if yo
Um Rock and roll... thanks for that.
I will have to get my head round the code as I am not too good at the custom
tasks stuff
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: 18 August 2005 15:35
To: 'Ant Users List'
Subject: RE: Sync removing cvs information i
Using the code below, you can patch the task to preserve arbitrary
files. You'll have to code and compile it yourself though. --DD
/** The untouchable files: the ones not to delete. */
private PreservedFiles _untouchables;
Between
The "-vl" means that this is a version label, not a view label. It is
handled differently in the checkout task's code. Try replacing the
first 4 attributes of the task with this instead:
URL="myserver:5558/myproject/myview" just to see if it makes a
difference (which it shouldn't). Also, post yo
Great idea!
-Original Message-
From: Jeffrey E Care [mailto:[EMAIL PROTECTED]
Sent: 18 August 2005 12:25
To: Ant Users List
Subject: Re: Sync removing cvs information in target directory
I move the CVS directories to a temporary holding area, perform the sync,
then move them back. You'l
Hi,
We've recently moved part of our build environment from traditional
unix make to
ant, and we're encountering some problems (ant 1.6.2, by the way)
- We have an hierachical archive organization, in which individual
programmers only work on
single components of the product. Typically,
On Thu, 2005-08-18 at 12:45, [EMAIL PROTECTED] wrote:
> I dont know any of these tasks, so here are only 0.5ct :-)
>
>
> >Another good way to do this would be to enhance the tasks! I
> >was going to create a patch this weekend if I get the time. I
> >think my desired features for this are to al
Anybody using starteam?
I have a problem:
When I checkout files using this command:
stcmd co -p user:[EMAIL PROTECTED]:5558/myproject/myview/mydir -is
-vl "mylabel" -o -eol on -fp checkout/mydir
a number of files get checked out.
When I use the following command in a build.xml file:
No fi
I dont know any of these tasks, so here are only 0.5ct :-)
>Another good way to do this would be to enhance the tasks! I
>was going to create a patch this weekend if I get the time. I
>think my desired features for this are to allow a failonerror
>attribute and also a usefile attribute to send
I move the CVS directories to a temporary holding area, perform the sync,
then move them back. You'll also need to fiddle with the default excludes
to make this work.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
"Mark Benus
I noticed the same irritation with the catalina ant tasks last week. I
did try to check whether a webapp was already deployed prior to calling
deploy, but I couldn't work out how to capture the output of the
Catalina List Task and parse the results for the existence of the
webapp. Any suggestions a
* Antcontrib
* Ant2 will never be written
* why you dont check for the existence of the webapp before undeploying?
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 18. August 2005 12:31
>An: user@ant.apache.org
>Betreff: Workaroun
I keep needing to ignore failures for tasks which don't themselves
support a "failonerror" attribute.
For example, I want to add a tomcat 'undeploy' task when doing a clean
build before redeploying the newly built warfile to tomcat.
But this fails if the the app is not already deployed, and st
Hi Guys,
Any ideas how I could use the sync task but not remove any directories in
the target that are named CVS. Basically my CVS information is getting wiped
and this is causing problems.
Anderson, Rob (Global Trade) wrote:
Properties are immutable. You could probably touch a file in the subant task,
and then test whether or not it exists in the calling environment, or something
like that.
-Rob A
There is something in ant-contrib (ant-contrib.sf.net) to pass stuff
back up...
37 matches
Mail list logo