Mikael Petterson wrote:
Hi,
It is not filtering out the files that I don't want included in my
compile.
Any more ideas out there?
Br,
//mike
-Original Message-
From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs]
Sent: den 25 augusti 2009 15:57
To: Ant Users List
Subjec
Mikael Petterson wrote:
Where do I add this to my javac target to make sure that no other files
in my src tree is compiled.
Try to add it to "sourcepathref" parameter of the javac task.
Regards,
Ognjen
-
To unsubscribe, e-mai
Francis GALIEGUE wrote:
Hello everyone,
Ant's task allows to update a file's properties, but
how do you _remove_ a property from a file?
The problem is that the number and name of properties in the file is
arbitrary... And while I could use external tools for it, I'd rather
not. Is there a "pu
Nan Null wrote:
I think you have a communication problem.
Yes, we did have, thanks for jumping in. :)
Once you have the build.xml file, you can call (System.execute) Ant,
passing in the path of the build file and the jsp.
Or it can be called directly from Java, using class
org.apache.tool
Jan K wrote:
I am developing a project for Testing Automated Test.I am using selenium
server for running the test.So when i upload a test(say for example
,login.java)file and click Run button,through request parameter i get the
action and need to invoke Ant build.xml file because selenium make us
I need to include ant (build.xml) file in JSP.Can anyone help me to do this?
What do you mean by including build.xml file in JSP? Do you need to
display the escaped content of the XML file so the user can see it as
part of the generated HTML?
-Ognjen
[EMAIL PROTECTED] wrote:
I have 10 java files and I have written Ant build.xml to compile and
create JAR file which contains the .class files. Now my requirement is
that I need to execute/install the JAR file but unfortunately I can’t do
this as I am getting following error.
...
Failed to loa
I have 10 java files and I have written Ant build.xml to compile and
create JAR file which contains the .class files. Now my requirement is
that I need to execute/install the JAR file but unfortunately I can’t do
this as I am getting following error.
...
Failed to load Main-Class manifest attr
. properties file and the
exact output.
Request you all to please have a look and guide/help me
Regards
Irfan.
-Original Message-
From: Ognjen Blagojevic [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 3:29 PM
To: Ant Users List
Subject: Re: Sample build.properties file
[EMAIL
[EMAIL PROTECTED] wrote:
Can anyone please give me the sample build. properties file. I need to
understand the syntax of the same.
There is nothing special about build.properties file. Just the textual
name-value pairs, someting like:
src=src
build=bin
deploy=/usl/local/tomcat/webapps
and s
There is a small bug in example on the page:
http://ant.apache.org/manual/OptionalTasks/attrib.html
Closing attrib tag is missing "/".
Regards,
Ognjen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Hi all,
There is a documentation error in ant manual for ant task replaceregexp.
In example:
includes should be an attribute, something like this, I think:
Or maybe nasted tag, something like this
But the example anyway, wrong.
Can someone change this?
R
Hi David,
David Weintraub wrote:
Are you actually doing something with the properties before doing the
replace? If not, you could use a filter. Unfortunately, doesn't
support the filter directly, but you could copy the property file, then use
the to point to your copy:
Actually, I do.
I fig
Hello Jan,
You could use for manipulating properties.
Thanks. This is exactly the task I was looking for.
Regards,
Ognjen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I need tho read the properties from the file, and then to do a string
replacement in their values.
Something like this:
1. read_properties
2. do_something_with_properties
3. replace_in_property('&', '&')
4. do_someting_else_with_escaped_properties
How can I do the step 3?
The only
Hi Peter,
Thanks for your answer. And sorry for late reply, I was on vacation.
Peter Reilly wrote:
The task does strange things with the classloader.
My advice would be to use fork="yes" unless there
is a reason not to.
Yes, I see. fork="yes" solved the problem.
As regards the exception y
Hi Temp, :)
I trying to execute small script using ant , here is the script
...
select 'drop table ', table_name, 'cascade constraints \;' from user_tables
Save your script to sql/SCRIPT.sql, and try something like this:
--
Hi,
Can someone try to explain this behavior of java ant task:
gives:
java.lang.NoSuchMethodException: (...)ContextFactory.main
Which is what I expected. ContextFactory is class in JRE's lib rt.jar,
java task can find it, but it does not have main method. However, this task:
18 matches
Mail list logo