Hi,
>> Or generate the classpath of your jar using manifestclasspath and remove the
>> nested classpath element on java.
Eventually this is what worked - thanks for the help.
Kev
-
To unsubscribe, e-mail: user-unsubscr...@ant.a
> what about trying to remove the classpath attribute from the manifest of the
> jar that you are building ?
>
> Also, the manifestclasspath source code tells me that a classpath attribute
> in a manifest is separated by spaces,
> not semicolons.
>
> Or generate the classpath of your jar using mani
Hi all,
Not sure if this is user error (suspect it's me being dumb) or an
issue in the trunk/HEAD of core.
My build works on debian, but here I'm stick on XP and for some reason
the classpath is simply not being set
I'm building a small parser and I'm using antlr. When I compile the
code, the c
Hi,
I just had to strip blank lines from a file the other day, try this:
http://ant.apache.org/manual/CoreTypes/filterchain.html#linetokenizer
Kev
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional command
Hi,
> I am doing FTP using ANT script and the target as follows:
>
> remotedir="/pub/incoming" port="21" >
>
>
>
Try setting the retriesAllowed to -1 to keep retrying
Kev
-
To unsubscribe, e-mail: user-unsubscr...@a
Hi,
what does
which javac
tell you?
And can you post the output of ant -verbose?
Thanks,
Kev
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
hi,
This could be ant version dependent, can you give us the ant version
number on each platform?
If you are using 1.7.0 on the vista machine it's significantly slower
than 1.6.5.
Check the ant dev mailing list archive for messages from Stefan
Bodewig on the subject - sorry to busy right now to
Hi,
> 4. Which new features should be used where possible because of
> significant performance boost ?
One thing that was changed was the way scp/sshexec works. You can now
specify a command file/resource to read which can contain all you
commands to run in one 'transaction' on the remote serve
> Somehow i missed this part of your posting =
> "Will the above programs actually login to a web app and
> test say links on pages"
>
You could also check out watir or selenium for web testing
I've used both and was very happy with watir (as it so simple to get
working) selenium on the other
> Hi all, I searched the archives but couldn't find a solution. For
> example, I have a file named filter_me.txt with its contents:
>
> ${foo}
>
> In filter_me.properties I have:
>
> foo=bar
>
You could always use with rhino/ruby/python etc to do the
filtering for you if necessary, but you should
Hi,
> and just write one statement like dontchangetimestamponexistingfile=true"/> or something.
>
If you put an RFE in Bugzilla the ant devs may look at it as an addition.
The semantics of unix touch though are that if the file exists, update
the timestamp, so there may be resistance to change
I think you want to look at the Available task
http://ant.apache.org/manual/CoreTasks/available.html
Thanks,
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
> Looks like something happening in tomcat; its their stack trace.
>
> Personally, I've found the tomcat tasks fairly tricky to keep
> alive. I prefer to use deploy-by-copy, and just the WAR file straight
> into the tomcat/webapps directory
>
> * it avoids you having to turn on the public man
Hi,
You can use the Tstamp [1] task to store the date in a property, then
read this in the zip task:
Thanks,
Kev
[1] http://ant.apache.org/manual/CoreTasks/tstamp.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Hi,
> The manual says that I need any version of the jsch jar, version 0.1.28 or
> above. The JCraft page shows the current version is 0.1.39. Both a zip and a
> jar is available for download but, unfortunately, something is messed up
> with the link for the jar. When I try to download the jar, it
Hi,
> That's on Windows and it works fine and very fast, however, after moving all
> my code to Linux box AND setting ANT_OPTS (export set ANT_OPTS=-Xmx1024m),
> the process runs extremely slow, as if ANT_OPTS have been ignored
> completely. Running "top" command, I noticed the following:
Run
Hi,
> I have a ant sql statement
>
>
>
> userid="${userid}" password="${password}"
> print="yes" onerror="continue"
> output="${tmp.dir}/dbModification.txt">
> INSERT INTO Payment (RefNumber,
> VAN, Amount, OptCode, VendorID,
Hi all,
Ant 1.7.1beta2 is now available for wider public testing!
- http://people.apache.org/dist/ant/v1.7.1beta2/
Please see release notes for major changes from ant 1.7.0.
Ant 1.7.1 includes some support for Java6 features:
- JavaFX scripting support for
- secureinput inputhandler (non-echoi
Hi,
> Thanks DD -- we are mostly an MS shop, but we do have a mixed set of
> developers. I'm actually part of a dev group doing Java and we are already
> using Ant for our build process (javac, junit, javadocs, deployment, even
> some 3rd party tasks for compiling Adobe Flex code and remote ssh
>
Hi,
> >>> and Java 1,3-compatible language features...it has to compile on older
> >>> versions. What we can do is have a directory of java6+ code that isnt
> >>> built on Java <6.
> >> I do not think that the ability to compile ant on < java5 is necessary.
> >>
> > The reaon I think this is that t
Hi,
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
This took me less than 5 seconds to find with google. I gave you the
name of the antlib and I expected that would be enough to find the
rest of the information. Please try to discover these tasks without
bugging the mailing lists. A
You want to look at ant-contrib for a for task
On Jan 16, 2008 12:20 PM, Nagender Kumar Mallik
<[EMAIL PROTECTED]> wrote:
> Hi,
> PLease tell me how to get the .jar file containing For task.
>
> Regards & thanks,
> Nagender Malik
>
>
>
>
Hi
> We're running OC4J 10.1.2 which obviously runs J2EE 1.4. I need to be able to
> build with J2EE on a mac but can't work out how to install and then
> subsequently reference J2EE 1.4 when building the app. We're using an ant
> task to build the app. I get lots of errors saying that HttpServlet
Hi,
> We will move to the Ant 1.7.1 release as soon as we can get our hands on
> it and it makes it through the Eclipse IP review.
> Unfortunately this is not looking good for Eclipse 3.3.2 as we are running
> out of time.
I'm going to try to get an alpha release of 1.7.1 out this weekend (I
stil
> Set up one of the continuation tools to do the build on the remote box
>
> Free
>-cruisecontrol
>-hudson
>-luntbuild
>-gump
>-continuum
>-anthill
or cruisecontrol.rb[1] if you're willing to install another runtime on
the build machine - ThoughtWorks have switched to using
Hi,
> I am trying to automate my ANT build script, and incorporate a check in my
> build.xml that checks if there were any code changes made to CVS since the
> last time the build ran. If there are any code changes then ANT gets the
> latest CVS code changes and then runs the build. Otherwise
Hi,
To use you'll need something like:
> M:\cc_mv_test\v_agentapi\Develop\VB Server>"c:\Program Files\Microsoft Visual
> St
> udio\VB98\VB6.EXE" -make Moagent32.vbp c:\test.dll -out c:\build_log.txt
Please spend some time readin
Hi
> There aren't any parameters to this task to capture that information, any
> idea how I might get this information?
>
try ant -debug, it should list the entire command line
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Hi,
Look at the FilesMatch condition
http://ant.apache.org/manual/CoreTasks/conditions.html
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Can you add the build.xml inline as the list removes attachments?
When you say it runs at the command line, this means that you aren't
launching ant through eclipse in anyway?
Thanks,
Kev
-
To unsubscribe, e-mail: [EMAIL PR
Hi,
http://ant-contrib.sourceforge.net/cc.html
Does this help - it supports gcc so should be able to compile c++
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
> One of the significant changes in 1.7.0 was, apparently:
>
> " * Defer reference process. Bugzilla 36955, 34458, 37688.
> However, my version of ANT 1.7.0 (binary download) seems to behave in the
> 'old' way. I have looked in WHATSNEW under SVN, and can see no suggestion
> that there was a
Hi,
Has anyone posted a bug on BZ for this?
If we have an open bug report and a patch & test for it, we can
perform the fix and get it into the trunk of ant for 1.7.1
Thanks,
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I am getting this error, When running ant , Please help ASAP.
ant version -- 1.5.4
BUILD FAILED
java.lang.VerifyError: (class:
Could you give us a copy of your build that's causing this error?
Without it it's very difficult to find a solution.
Also please read : http://www.catb.org/~es
Hi all,
For obscure reasons, I have to redefine the core email task using a taskdef.
This is my build file:
Now the strange thing is that thescp & sshexec tasks report that they
have been over-ridden by the new definitions, and
Hi Matt,
You've got to keep track of my sleight-of-hand on the
the dev list, Kev! ;) If you're able to use the
trunk version, you should be able to use:
Isn't truncate an odd name for creating something from nothing?!
And yes I can use the current svn trunk so that's cool.
I'm not even s
Hi all,
I need to create a file of around 25mb during a build for use as a
test attachment for the task
Is there a simple way to do this or do I have to consider something
with extra dependencies (script, shell etc)
Kev
-
To
Hi all,
This problem was actually to do with the names of the tar file and
what the folders were in named inside the tar file - it was not to do
with the macro property expansion (which I also thought was the
problem)
basically the tar was called james-server-binary-next-major (james
distro buil
Hi all,
I have a weird error caused by a property being wrong 50% of the time
and correct 50% of the time.
here's the relevant code:
build.properties
james.version=server-binary-next-major
james.home=/var/james
james.home.direct=/var/james-${james.version}
Hi,
Please read the manual,
http://ant.apache.org/manual/CoreTasks/concat.html
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
#1 Read the manual, there's a task[1] just for this
Hope this helps.
Kev
[1] http://ant.apache.org/manual/CoreTasks/tstamp.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
Can u suggest me anything to implement that example. Any help is
appreciated.
Ant-contrib[1] has most of the imperative language features for ant
(if/else etc)
Kev
[1] http://ant-contrib.sourceforge.net/tasks/tasks/index.html
--
Hello,
Hi,
I tried to compile source distribution but I receved the following error
message:
When I compile from source I use bootstrap.sh followed by build.sh
builb.xml:911 We cannot build the test jar unless JUnit is present,
as JUnit is needed to compile the test classes.
Total tim
Maybe the Tutorial "Hello World with Ant" [1] would also help.
If you need more information in that tutorial, let me know ;-)
Actually I think the original poster has a point, the manual for
states that "The source and destination directory will be
recursively scanned for Java source files to
Hi,
You are setting a property to a value (n | y) in your task.
As soon as you set a property it keeps that value for the whole build
as ant properties are immutable.
It won't behave like you expect and each time reset to the value you
choose, it will just be the first value that you set.
I'm
Hi,
Hi,
I am using ANT (1.6.5) for building and running my project. I could see that
ant uses xerces parser. I am also using xerces parser in my code, for which
I have got my own xerces jar. Finally I can have only one xerces.jar in
class path.
If you are using Java5+ I think xerces comes
Hi,
Hi,
can anyone of you post how to get projects/files from pvcs using ANT
script.
A sample will be helpful.
http://ant.apache.org/manual/OptionalTasks/pvcstask.html
The ant manual is the first place you should look before posting a question
If you have a problem *after* consulting the
Hi,
If you don't want to write a custom task in java, you could also try
and use a scripting language of your choice
http://ant.apache.org/manual/OptionalTasks/scriptdef.html
Kev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
[Sample.txt]
Test1
Group=red
Test2
Group=blue
Test3
Group=green
Example:- If I was to provide the value "Test2", I would like the Ant to
search for "Test2" in the file, and return the value "blue". If I provide
the value - "Test3", it should return the value "green"
Please let me know if there
Just to throw my hat in the ring...
If you don't like HttpUnit (for whatever reason). Watir[1] (IE) and
FireWatir (firefox) can be used as an alternative for checking your
links, driving the automation of tests.
Getting them running as part of the build process is eaasy enough with
, but if you
I should have changed my question from "open a connection to a database" to
"start the database server"...that seems more like it.
Try sshexec if your server is a remote machine (of course it needs to
be running sshd)
Kev
-
Hi,
Is this the way to exclude the a list of files ( I have more names that
I need to exclude)? Shall I use ';' or the regular ',' ?
If you check the manual online :
http://ant.apache.org/manual/CoreTypes/fileset.html
You'll see that the the excludesfile is actually a text file of
exclude pa
52 matches
Mail list logo