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
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
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-
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
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..
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
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
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
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,
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
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
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
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
--
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)
--
before I could properly verify
apache-ant-1.8.2-bin.tar.bz2.asc, which worked.
Have I made some mistake? Apologies if I've missed something.
Thanks,
Mark Lavi, Senior Web Producer
sgi || ml...@sgi.com || www.sgi.com
-
To unsub
Antoine Levy-Lambert [mailto:anto...@gmx.de]
> Sent: Friday, December 31, 2010 10:50 AM
> To: Ant Users List
> Subject: Re: fileset of cvs changed files
>
> Hello Mark,
>
> what you can do is run your cvs update using the exec task and use a
> nested filterchain do capture outpu
on control.
thanks,
-mark-
prevents me making a new folder with the same
name as an existing file on a NTFS volume.
I suspect this is an operating system feature and not an ant problem?
Can you use a different name or place the folder somewhere else? What
do you want to do
o happen?
Java and ant info:
C:\Subversion>java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
C:\Subversion>ant -version
Apache Ant version
How can we access
those beans when Java is the script language? Am I missing an import,
or is there something else that needs to happen?
Thanks,
Mark H. Bickford
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For addi
occurence of a regular expression on each line, which
is not easy to do when processing the file as a whole.
Defaults to false.
"
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For
Nordmeyer wrote:
> With ANT?
> How?
http://ant.apache.org/manual/CoreTasks/sync.html
might be just what you are after.
The top level for the 'fm' is http://ant.apache.org/manual/ , one for
your bookmarks perhaps.
Re
Dave Pawson wrote:
> 2009/5/13 Mark Salter :
>> Dave Pawson wrote:
>>
>>> How to get it into the ant documentation Table of Contents?
>>>
>>>
>>http://ant.apache.org/manual/
>
>
> ? I see no mention of property file description/s
Dave Pawson wrote:
> How to get it into the ant documentation Table of Contents?
>
>
http://ant.apache.org/manual/
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional command
I missing something?
As well, I'm wondering what other kinds of reuse approaches there are?
Thanks,
Mark
On Fri, Feb 6, 2009 at 4:24 PM, wrote:
> I set up properties
>
>
>
> in the "init" target and use references to them in the macrodefs.
>
> He
#x27;m I do things the Ant way by creating a separate macrodefs file, or might
this lead to issues?
Thanks very much!
Mark
a more of what is happening,
perhaps post the output here?
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
ps include the output from "ant -verbose"?
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
if and .GIF from all of the folders?
>
> Wanted to know how to specify the folder name from which these gif files are
> to be extracted.
Did you try changing the wild card folder component in the include from
'**/' to i
marshall_dan...@emc.com wrote:
> Thank you Mark I will take a look. I caught and fixed the folder issue
> but It still is not finding the class.
Did you change the classpath specification to remove the extra levels
into the junit task as well?
> If a class
directories when perhaps only the classes ones
are needed.
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
h instead of a .jar?
Can you show us your junit task xml and perhaps the full stacktrace you got?
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
to be careful with what tools you use to view and check
(perhaps edit) the result.
How are you checking your result? What commands or application are you
using to see 'hm?nя??' ?
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
sphere/library/techarticles/0502_gawor/0502_gawor.html
This example only deals with output, not input which are quite different
in their mechanisms.
Good luck.
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
Track this
down and eliminate it in favour of the 1.7.x version you thought you
were running, then perhaps things will get better.
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands,
commented as added in 1.7 and should therefore be present
for you?
I also see you producing a file called result[.xml] from the test, but
not using it in the junitreport, but I think the 'missing'
Task.bindToOwner(Task) method indicates a bigger problem with
ng a bit more so you can pose a smart question,
which may in turn get you the answer you need.
--
Mark
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
UTF-8 then you
need to convert the Unicode bytes into a format that can be held in this
encoding. Perhaps 're-escaping' or BASE-64 encoding it.
Personally I think you should also be specifying the value within the
Ant xml in
ave closed the exec
element unintentionally early?
It looks like you have tried a number of combinations and have managed
to confuse yourself.
I can't know that you invocation of wsadmin.bat will work with the arg
included within the exec elem
Eric Cambray (BlueXML) wrote:
> For Mark > I don't have network task.
> But on my test, and based on what I see there is no specific task that
> take long time just a "cyclic" run / stop. My task do javac, copy files,
> zip and unzip (many times for each) nothi
ng above helps and you think it is specific to ant, we will need
to know more about your ant tasks and perhaps you can identify a
particularly slow portion of your any project in order to track the
problem down.
--
Mark
-
[EMAIL PROTECTED] wrote:
> How can I get more detailed information about what is going wrong?
How about checking your 'outfile'?
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
s and plugins (Findbugs, PMD,
subclipse, an in-house plugin). The problem is probably due to some
foible of RAD 7, but I thought you should be made aware of it in any
case. I'm aware that RAD 7.5 is a different beast altogether, but we
aren't in a position to migrate to that just yet.
Thanks again,
Mark
e people will be grateful for
your efforts.
8)
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Patrick Waugh wrote:
> What is wrong?
You need to get ant-contrib :-
http://ant-contrib.sourceforge.net/
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the Eclipse for the same build.xml?
You can configure an ant builder within Eclipse which is what you (or
someone) has already done. To keep this on topic (of ant) perhaps
showing your build.xml will expose the answer?
--
Mark
st".
So a find for text 'dist' within build.xml has no hits - apart from the
mkdir and copy targets?
Are you running the ant build from within Eclipse? If so, Eclipse
allows you to specify targets to run on an ant build, is a target of
'dist' specified on the 'Targe
s
very straightforward, why would they resist given your need?
Up to you of course.
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tassilo Horn wrote:
> What I really want is to execute the given `java' task for each and
> every *.tg file in ${schema.dir}/. How would I do that?
Ant-contrib has a Foreach task, perhaps that will do you?
--
Mark
-
rce code. The
above example is merely designed to whet your appetite and get you
started. Go for it!
"
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Morgan Kinne wrote:
> try sj.perform()
>
It looks to me like you will still need to set a sj.setProject(project).
I can't find anything that states this requirement, sorry.
--
Mark
-
To unsubscribe, e-mail: [EMAI
27;.
I guess all tasks need a project (it's presence is presumed), but I
would hope this would be stated somewhere - I am going looking now.
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://ant.apache.org/manual/CoreTasks/delete.html
So for your child deletions...
Is that what you wanted?
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> anywhere? I didn't see anything in the javac task documentation.
ant is honouring classpath from your environment. What operating system
are you using?
Do you have a variable called CLASSPATH defined?
--
Mark
-
To unsu
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
-
e download will take place.
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
; is up-to-date.", Project.MSG_VERBOSE);
return;
}
-if (c.size() == 0) {
+if (c.size() == 0 && header == null && footer == null) {
return;
}
OutputStream out;
--
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.
) 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
.
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
;
>
>
> -----
> 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]
>
--
--
Mark S. Reibert, Ph.D.
[EMAIL PROTECTED]
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
pril build, the behaviour is as expected.
I'd be grateful for any help with this.
Regards,
Mark
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
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
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
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
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
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
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
--- 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
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
On 5/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The only download at that URL is jtidy-04aug2000r7-dev.zip. It does not contain
a file like org.w3c.tidy.ant.JTidyTask.
Oops
http://jtidy.sourceforge.net/snapshots/jtidy/jtidy/8.0-SNAPSHOT/jtidy-8.0-20060730.195103-1.jar
contains org/w
On 5/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Does anyone know where I can download the jtidy.jar file?
http://jtidy.sourceforge.net/download.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
22/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/
[echoproperties] basedir=C\:\\work\\data\\worksps\\scratch\\scratch
[echoproperties]
java.endorsed.dirs=C\:\\work\\apps\\java\\jdk\\150_11\\jre\\lib\\endorsed
[echoproperties] os.arch=x86
[echoproperties] java.io.tmpdir=C\:\\DOCUME~1\\MARK~1.STA\\LOCA
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
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
22/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/
[echoproperties] basedir=C\:\\work\\data\\worksps\\scratch\\scratch
[echoproperties]
java.endorsed.dirs=C\:\\work\\apps\\java\\jdk\\150_11\\jre\\lib\\endorsed
[echoproperties] os.arch=x86
[echoproperties] java.io.tmpdir=C\:\\DOCUME~1\\MARK~1.STA\\LOCA
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 - 100 of 274 matches
Mail list logo