files were renamed.
None of the directories will have more than one file
matching the pattern so that shouldn't be an issue.
Can someone offer a suggestion on what is wrong or how
I should go about doing this?
Tha
--- Mark <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to make a task to rename all files of pattern
> abc*.htm to index.htm recursively.
>
> I tried following the example toward the end of the
> Move task documentation (i.e. adding a .bak
> extension
> t
allow them to be
expanded but the property value is not parsed
correctly (parts are missing and out of order).
Is this a bug or intended behavior? Is there some
other way to do this (other than adding another
replace task)?
Thanks,
Mark
Try your expression with the "s" flag (you won't need
the "\n")
--- "Scot P. Floess" <[EMAIL PROTECTED]> wrote:
> My apologies. Clearly your email didn't describe
> what you did at
> all... The way it was worded didn't express that
> information. I see
> you have posted some information in a
opies "testimg.png" to ./build/dist, not the directory
"img". I guess I could just create the directory, but I am really
curious what I do wrong. Why doesn't it copy the directory itself?
Thanks for any help,
Mark
---
Mark Wiehland wrote:
> Here is my xml code:
>
>
>
>
>
> where
> ${distdir} = "./build/dist"
> ${imagedir}= "./resources/img", with a file "testimg.png" inside.
>
> But Ant just copies "testimg.png" to ./build/d
our build system is growing rapidly. we've gone from using wsad to build
each war/ear manually, to having ant scripts for building each item, and
wrapping it together with a main "autobuild" project which basically checks
out each sub project and calls it's build. now we're looking to integrate
On 9/6/05, S I <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I wish there was Ant Core Task support for Subversion. I have downloaded
> bunch of 3rd party utilities, althought they accomplish the job somewhat
> clumsily, they'll do for now. Is there going to be support for Subversion
> soon?
I don't li
ch of Ant?
It seems to be both useful and would make the ant toolkit more
'complete' with the Java 1.5 spec.
Also, how would I go about finding and installing the current
experimental apt task?
Thanks,
Mark Mc
is be done?
Mark McKay
http://www.kitfox.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
useful ant utilities?
Mark McKay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Just wondering what the expected date is for the Ant 1.7 release. It
looks like it will have a lot of useful features.
Mark McKay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Steve Loughran wrote:
Mark McKay wrote:
I'm aware that an task for using the new Java apt utility
exists and is in an experimental branch of Ant, but I'm not sure how
to find it or add it to my current distribution of Ant (I'm using
1.6.4 at the moment).
I was wondering
i haven't used the two ejb 3.0 preview application servers out there, just
have heard a bit if the hype and skimmed over the 3.0 public draft. i could
find nothing regarding ejb jar changes in the draft per se, though it could
be as simple as just creating a standard jar file to deploy to the
conta
a way for me to alter my ant script to boots the
memory available to proguard when it runs? Something that's in the ant
script itself would be prefereable to a command line option, but if
either are possible, it would be great to know.
Than
ib folder would not be loaded by the default ant
classloader, but would be available for users to include libs as
needed.i don't like much the .vs. issue, and it
would be very nice if both taskdefs could define a or
task w/o any collision. i'm not sure how that would work.
good luc
something like this difficult.
Mark McKay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i didn't quite catch the resolution to this. is there a solution to
using a stock ant distribution , without modifying your target
environment (ANT_HOME/lib, ~/.ant/lib, etc), and using the optional
tasks such as junit, scp, ftp, etc? if so, can someone give an example
of how to do this?
On 11/9
Hi,
Check out this link
http://java.sun.com/docs/books/tutorial/jar/
It should help you out.
Cheers,
Mark
Jochen Wurster <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/01/2005 04:03 PM
Please respond to
"Ant Users List"
To
user@ant.apache.org
cc
Subject
removi
imply run the xdoclet task 10 times but I am looking for
the most efficient way to do this and incorporate it into the existing
build process.
Just looking for some ideas.
Regards,
Mark
Is it possible that the error is happening because it cannot mount that
location (/usr/local/comp)?
Make sure the server your running is properly mapped to that point. Have
access rights changes on that location? Check that as well.
Regards,
Mark
Guruprasad R <[EMAIL PROTECTED]>
tion.
The version number would get bumped in this branch, and not reflected
back into the head. Is there a way to do the CVS merging from the ant
checkin?
Any thoughts/ideas/practices would be most helpfull.
~mark
now
-
To unsu
On 12/19/05, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote:
> > We're looking to attach a buildnumber to our current build process.
> > Only test and production builds will need to have the
> > buildnumber incremented.
>
> It's OK to increment the buildnumber for development builds too.
>
that's definately a great idea. how do i get the branch name of cvs
from within ant? basically, which cvs branch is this?
On 12/19/05, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Now, suppose I branch the project to create REL_4_1.
> > > > Development is still occurin
org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
/**
* @author Mark Russell
*
*/
public class PrintProject extends Task
{
private static final String CLASS_NAME = PrintProject.class.getName();
public void execute() throws BuildException {
System.out.println("ex
Environment?
I need a little help in writing Ant scripts for both environments.
Thanks
Alan
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiations.com
-
To unsubscribe, e-mail: [EMAIL
t; section
HTH
Darins
Mark Russell <[EMAIL PROTECTED]>
12/27/2005 08:00 AM
Please respond to
"Ant Users List"
To
ant develipers list
cc
Subject
getProject() returns null
this is an ant task that runs under eclipse 3.1. It is a very simple
task that just prin
To unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiati
ts or not.
thanks for any suggestion
markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
to figure out is can you use ANT to test for a
file in a specific location and if it is there, it would set the flag to
true thus execute what is part of the if statement, in this case, build
the custom ejb if a properties file exists in ${project-root}?
Thanks,
Mark
Thanks Benjamin,
I was able to put something together based on that example and got it
to work just fine.
Regards,
Mark
"Burgess, Benjamin" <[EMAIL PROTECTED]>
01/26/2006 11:07 AM
Please respond to
"Ant Users List"
To
"Ant Users List"
cc
Su
ou ask for you will probably have to write
your own. Have you looked at writing an Eclipse RCP application to
handle your front end? Eclipse works very well with Ant and can run on
many different OS's
--
Mark Russell
Instantiations, Inc.
724-368-3331
rties
root/META-INF
the files need to be copied to
root/deploy
I can't hard code the directory structure because I will not know the
directory configuration until run time.
Any help would be gladly accepted
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://ww
re out the best way to document a project and several processes.
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiations.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
tion=value
> file1.xml file2.xml file3.xml file4.xml
>
> Any idea ?
>
> Regards
> --A. ROY
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL
i want to set a property using propertyregex from ant-contrib. i'm not
a regex expert/novice.
here's my string:
Sticky Tag: REL_1_0 (branch: 1.3.2)
I'd like to extract the REL_1_0 (third word, or word after Sticky
Tag:) to a property. some help with the regexp of it would be
helpfull.
select the rest of the string.
>
> HTH Bill
>
> -Original Message-
> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 8:11 AM
> To: user@ant.apache.org
> Subject: propertyregex
>
> i want to set a property using propertyre
i'm trying to use ant's xslt task on java 1.5.
Here's my target call:
And the exception is:
[xslt] Transforming into C:\dev\workspace-wtp-1.0\myProj\build\doc
s might get me around any classloader issues. I
then put xalan.jar into the classpath of my task, but that gave the
same results.
Maybe I was still running into classloader issues. I'd really like
to have a "working", standalone xslt task that allows me to specify
the xmlcatalo
looks like
Or is there a better way?
TIA,
--
-mark. (Ant newbie)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
either.
Can anyone point me in the right direction to figure out why
regexps aren't hitting for me?
I'm using ant 1.6.5 on windows, by the by.
Thanks
-mark
This e-mail message, and any attachments, is intended only for the use of the
individual or en
Thanks... A co-working pointed out that oops after I'd sent the
email...
-Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that is confidential, privi
do conditionals generally? I know lets you
do conditionals, but where else can you use them?
Thanks
-Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that i
I seem to be unable to compile my program using the new task. At
first, I simply changed an existing javac tag to apt and tried to
compile, but received an error. I tried playing with the options, but
am still receiving similar errors. I would eventually like to have apt
locate some custom
Steve Loughran wrote:
Mark McKay wrote:
I seem to be unable to compile my program using the new task.
At first, I simply changed an existing javac tag to apt and tried to
compile, but received an error. I tried playing with the options,
but am still receiving similar errors. I would
Steve Loughran wrote:
Mark McKay wrote:
Hmm. Looks like it was my fault. The annotation processor I wrote
was making a call to Filer.createTextFile() with null being passed in
as the second argument (which was throwing a NullPointerException ).
When I fixed this, I was able to compile
output to one file and applying an to output to
another file...
Thanks
-mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that is confidential, privileged and
x27;t appear that it can
be put in a filter chain.
Thanks
-Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that is confidential, privileged and subject to
don't see any other way to go. Anyone else worked around this before?
Thanks
-Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that is confidential, priv
p
leading output until it sees mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 11:55 PM
To: user@ant.apache.org
Subject: Re: any suggestions how to work with nunit?
Hi Mark,
I'd like to second Steve's request to open bug reports, in fact I've
created enhancement req
a whole directory tree?
Would it copy the tree if we didn't have the includes?
Thanks
-mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that is confide
See if ant-nodeps.jar is on you classpath. When I ran into the same
error in another context I truly did not have a regex imp on the
classpath.
Hope that works for you.
m
On 9/27/06, Tina Meier <[EMAIL PROTECTED]> wrote:
Hello,
forgive me if this is obvious but i've been struggling with this
Eclipse has a Run As... option for ant projects but when I
try to run it from inside eclipse, it says it doesn't know about
.
First, anyone know how to tell what the two compilers don't
like about each other? And second, how does one get eclipse to run ant
build
Not sure where I'd check that. I know that ant is using jdk1.5.0.6 but
I don't know how to look into what eclipse is using...
Thanks
-mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of th
won't work
with the javac ones but I'm at a loss to figure out which options are
creating the incompatibility.
Thanks
-mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message a
aying that there's no definition for
"Source" (which the subclass doesn't reference) and that
foo$fooNode.class is a "bad class file" so the junit test can't compile.
When I delete all the .class files made by eclipse and have ant
build them all, I don
Hi...
We've got some CruiseControl projects using Ant that are
chained together. One task is the build task which compiles everything
and packages up a zip of the product. It that works, there's a
dependent CC project that then calls ant to install that software on a
staging serve
Also take a look at the concat core task.
On 11/9/06, me_zeta <[EMAIL PROTECTED]> wrote:
Hi all,
Is there any ant task to write some data to a file.
zeta
--
View this message in context:
http://www.nabble.com/Ant-Task-to-Write-to-a-file-tf2600638.html#a7255092
Sent from the Ant - Users
On 15/03/2011 11:40, Lis Maria wrote:
> It is nt emma eror that i get , but it says classnotfound exception for any
> class it executes in the junit section
The actual and full Exception you are seeing but we are not would be a
useful piece of information to help guide you.
8)
--
On 15/03/2011 11:53, Lis Maria wrote:
> [junit] de/hybris/platform/persistence/AbstractTypeInitializer
> [junit] java.lang.NoClassDefFoundError:
I guess you are missing a jar from your classpath that holds the Hybris
persistence code that your unit tests need?
HTH
--
ing this in the past with a manually-maintained
XML file like this:
Right now I pass in the file above to the XSLT processor like this:
Output FO...
But I'd like to automate it. Is there a way to pass in a fileset i
ss the XML files in the hrefs. Using build.xml to trigger the root
xsl:template is an interesting trick!
Mark
On 5/31/2012 1:56 AM, Andy Stevens wrote:
Hi Mark,
On 29/05/12 23:37, Mark Giffin wrote:
I'm making a single PDF out of a group of XML documentation files.
It's an API refere
Feed the build.xml into and then use the project.target.name
property that results (a comma-delimited list).
-Original Message-
From: Stefan Bernsdorf [mailto:gruener.heinr...@googlemail.com]
Sent: June 07, 2012 8:23 AM
To: Lewis John Mcgibbney; Ant Users List
Subject: Re: Getting all t
the
heap space:
There is no maxmemory attribute for the xslt task. I would rather use
the xslt task if I can.
Thanks,
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands,
attribute to true as you showed in the second approach is the way to go. What
is wrong with this approach?
From: Mark Giffin
To: Ant Users List
Sent: Sunday, August 5, 2012 5:53 PM
Subject: Increase Java heap within xslt task?
How can I increase the memory
Thanks Vimil, that's a good tip.
Mark
On 8/5/2012 8:00 PM, Vimil Saju wrote:
You can use macrodefs to make it more readable to others.
First define a macrodef something like as follows
Now you can invoke the macrodef as fo
des spaces, perhaps something like...
Documents and Settings
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
s.org/browse/MASSEMBLY-515?focusedCommentId=292234&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-292234
( http://preview.tinyurl.com/93qzjnj )
--
Mark
-
To unsubscribe, e-mail: user-unsubscr..
Hi All,
I am having trouble controlling the output from ant to log4j. This is my
log4j2.xml:
And this is my build.xml:
The build.xml outputs one lin
e have linux servers in our
environment too. i was thinking of using an ant script to handle/drive
most of this execution. as ant is primarily using for building (java
appliations), does anyone see issues with using ant to drive this file
processing and manipulation?
thoughts/ideas are very welcome!
thanks,
-mark-
In my experience with Android, you can create an ant.properties which will be
read at the start of the build, and you should be able to set the java.encoding
property there.
So far as the error itself goes, it came in with Java 7; I had source files
with Microsoft smart quotes in the comments t
uot;
Looking at the org.apache.tools.ant.taskdefs.condition.IsReachable, this call
is throwing a NoSuchMethodException:
Method reachableMethod =
InetAddress.class.getMethod(METHOD_NAME, Integer.class);
Shouldn't Integer.class be Integer.TYPE?
Thanks,
Mark
script that invokes "cygpath" on its own, but that doesn't fix the
"broken" behavior of Ant.
--
Mark Evenson <[EMAIL PROTECTED]>
"A screaming comes across the sky. It has happened before, but there is
nothing to compare to it now."
---
I believe some sort of solution may be workable with JMake
http://sourceforge.net/projects/javamake/
It compares .class to .java files to produce an appropiate javac command
line. I haven't used jmake in a number of years, documentation on the
website is scant, and I haven't used it with An
I would like to analyse some output from my Java files run using Ant.
What I really need is the equivalent of the Unix tools grep and diff.
Has anyone implemented these for Ant?
MArk
-
To unsubscribe, e-mail: [EMAIL PROTECTED
On Thu, 2003-09-25 at 09:40, Stefan Bodewig wrote:
> On 25 Sep 2003, mark stephens <[EMAIL PROTECTED]> wrote:
>
> > What I really need is the equivalent of the Unix tools grep and
> > diff. Has anyone implemented these for Ant?
>
> I don't know about diff.
Hi...
I saw on the manual web page that was supposed to be available
under in ant 1.7.0. I just downloaded it and tried a
sample, but it's throwing an error saying it's not legal. What's the
deal?
Thanks
-Mark
This e-mail message, and any attachments, is intended o
Figured it out... I changed PATH and CLASSPATH but not ANT_HOME, so I
wasn't running the version I thought I was running...
-Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message an
Online manual say supports if and unless but when I try to use
them, ant 1.7.0 says it doesn't.
Thanks
_mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that
Oops... I'm porting stuff back and forth between ant and nant; it's the
nant docs that say supports if.
Sorry
Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and ma
caller specifies how many times (max) to call.
It's a little convoluted but can be done without extending ant.
Thanks
-Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
co
how about sshexec?
http://ant.apache.org/manual/OptionalTasks/sshexec.html
On 5/14/07, Chun Ji <[EMAIL PROTECTED]> wrote:
Hi there,
I am using the "FTP" task in ANT to update a group of files at a remote
site, but sometimes, some files at the remote site are read-only, and my ANT
will fail bec
t;[EMAIL PROTECTED]> wrote:
Thank you for the tips. But it does not work for this case. I am getting a
"Connection refused" exceptions. Anything else you could think about ?
Chun
-Original Message-
From: Mark Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, May 14, 2007
x27;t seem to support
Any way to do this?
Thanks
Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message and may
contain information that is confidential, privileged and subjec
with it's ability to include multiple filesets and define a
complete set would be great, only it doesn't seem that some tasks like
take them.
Thanks
Mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address o
about ant - it's a tool. I came to understand it as a
developer, but use it as a flexible foundation to solve several different
types of problems.
Mark
I have a need to write temporary files during a maven plugin run. What is the
best practice for the location of temporary files?
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiations.com
smime.p7s
Description: S/MIME Cryptographic Signature
Does anyone know of an ant task which is capable of invoking a web service
synchronously, ideally dropping the soap response into a property?
It may sound like an obscene abuse of ant, but I need ant to execute a number
of commands in a shell, using the same shell for each incremental call in th
pril build, the behaviour is as expected.
I'd be grateful for any help with this.
Regards,
Mark
;
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
--
Mark S. Reibert, Ph.D.
[EMAIL PROTECTED]
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
;
>
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
--
Mark S. Reibert, Ph.D.
[EMAIL PROTECTED]
---
.
On Mon, 2008-09-15 at 17:41 -0700, DW Dennis Wheeler wrote:
> or you can simply use
> svnversion -c
> on your working directory
> (both before and after an 'svn update' for starting and ending revision
> numbers to generate changelogs for the build)
>
>
> &g
) I'll have to leave this problem for now.
Daniel: thanks for the suggestion for RAD 7.5, but we already have enough
problems on our hands with RAD 7.0 :)
Regards,
Mark
e any way to do this? This seems like a relatively basic thing to
do - but I don't see an easy way to do it. Hopefully I am just
missing something obvious.
Thanks,
Mark.
; is up-to-date.", Project.MSG_VERBOSE);
return;
}
-if (c.size() == 0) {
+if (c.size() == 0 && header == null && footer == null) {
return;
}
OutputStream out;
--
Mark
Stefan Bodewig wrote:
> I forgot to add: please file a bugzilla issue for it.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46010
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
y url looks like something like this:
>
> http://localhost:8080/testproject/folderx/folderx/images/test.gif
>
> As you can see it's repeating the folder name twice.
The zip examples clearly show that the zip structures have the prefix
added followed
a fileset?
Do you want the list of .java files or the list of .class files that
will be generated out of the compilation of such files?
Jan has already given an answer for the latter case.
If you do want the .java files instead, then:-
might
e download will take place.
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
large,
> you can restart halfway if it failed halfway.
This might not be an immediately available option on all operating
systems, but then neither is ant 8). I think William (the OP) might be
using windows which lacks some useful tools 8(.
--
Mark
-
1 - 100 of 274 matches
Mail list logo