junit skipNotTests zipfileset including inner classes that are not tests

2014-02-10 Thread Marc Benstein
I am using ant 1.9.3 with junit 4.11 with batchtest skipNonTests="true" What is happening is that inner classes of non-test classes are being tested. This is resulting in a few failures. Any thoughts on why these inner classes that are not test classes are being tested? ...

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Marc Benstein
t file? > > > > > > > > > > -----Original Message- > From: Marc Benstein [mailto:mbenst...@ultramain.com] > Sent: Thursday, March 28, 2013 9:59 AM > To: user@ant.apache.org > Subject: Re: Java 5 fails to run jar files created with Ant 1.9.

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Marc Benstein
On Thu, 2013-03-28 at 05:59 -0600, Stefan Bodewig wrote: > On 2013-03-28, Marc Benstein wrote: > > > Java 5 fails to execute jars created with Ant 1.9.0. Java 6 and 7 work > > fine to execute the jar. > > I assume creating the same jar with Ant 1.8.x works just fne for

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-27 Thread Marc Benstein
gt; > On Wed, Mar 27, 2013 at 10:43 PM, Marc Benstein > wrote: > > > Joe, there is not an error when I try jar tf myjar.jar. I see the > > contents just fine. > > > > On Wed, 2013-03-27 at 19:56 -0600, Joe Attardi wrote: > > > Is the error just when you tr

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-27 Thread Marc Benstein
2013 at 8:27 PM, Marc Benstein wrote: > > > Howdy, > > > > Java 5 fails to execute jars created with Ant 1.9.0. Java 6 and 7 work > > fine to execute the jar. > > > > The message I am seeing in Java 5 is "Invalid or corrupt jarfile" > > >

Java 5 fails to run jar files created with Ant 1.9.0

2013-03-27 Thread Marc Benstein
2 with the same results. Any help would be appreciated. Thanks -- Marc Benstein Ultramain Systems, Inc. 8100 Lang Avenue NE Albuquerque, NM 87109 USA TEL 505.828.9000 FAX 505.823.1841 www.ultramain.com Confidentiality Notice: This email message and any files transmitted with it may contain co

NPE in RuntimeConfigurable.maybeConfigure() via UnknownElement after upgrade to Ant 1.7

2009-09-15 Thread Wirth, Marc
older thread in the JetBrains Developer Community ( http://www.jetbrains.net/devnet/thread/265263 ) without a solution for the issue, though. Did anybody else experience problems with this? Should I open this as a bug? Best regards, Marc ---

Re: How to figure out what is in my class path?

2008-11-24 Thread Marc Weber
uild.xml Hopefully someone with more knowledge about the ant build system can add a one line fix so that this can be configured by -D or by bulid.properties. If you want I can prepare a patch. Just tell me to do so. Anyway I wonder how ant devs do compile ant? Sincerly Marc Weber -

bootstrapping ant and junit CLASSPATH location?

2008-11-20 Thread Marc Weber
the build.xml contains this: causing ./build.sh to fail bcause junit is not found. Inserting a solves it. However I wonder wether there is a better way than patching the build.xml file? Why isn't a property or such used ? Sincerly Marc

Re: Howto debug where properties are set?

2008-11-20 Thread Marc Weber
> > > > Jan Hi Jan, thanks for replying. I've finally seen that it has been set in the .properties file. There is also a way to check the length. Anyway something is broken in the buildsystem for eclipse. So nobody seems to be using it. Marc Weber -

Howto debug where properties are set?

2008-11-15 Thread Marc Weber
Iv'e trouble compiling eclipse using the provided build.xml. I've tracked it down to setting an empty bundleBootClasspath because the proprety "JSE-1.4" is set to an empty string.. Now the ant -d output prints something like [... thousands of lines ..] [subant] Entering /tmp/nix-b

Re: How do you check jar and zip are not corrupted

2008-02-20 Thread Marc Farrow
also depending on environment it might be better to FTP instead of COPY. On Feb 20, 2008 7:24 AM, Steve Loughran <[EMAIL PROTECTED]> wrote: > Ramu Sethu wrote: > > Hi all > > > > I copy files from a m/c thro copy task. These jars and zip files will be > > used in my class path for the next build

Problem with exec task

2008-01-14 Thread Marc Gimpel
ed, exit status 255 [exec] error: install: %pre scriptlet failed (2), skipping postgresql-server-8.2.6-1PGDG.rhel5 [exec] Result: 3 BUILD SUCCESSFUL Total time: 31 seconds Does anyone know the reason for this problem, and is there are workaround? -- -

Help with using Ant Project API through Java.

2007-08-16 Thread Marc Farrow
dd(file.getParentFile().getAbsolutePath()); } for (String parent : set) { FileSet fs = new FileSet(); fs.setDir(new File(parent)); fs.setIncludes("**/*.jar"); arList.add(fs); } return arList; } priva

Re: Problem using special chars in

2007-05-02 Thread Marc Lustig
ittwoch, 2. Mai 2007 11:17 >An: Ant Users List >Betreff: RE: Problem using special chars in > > >Hi, > > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >On Behalf Of Marc Lustig >Sent: Wednesday, May 02, 2007 11:12 AM >To: user@ant.

Problem using special chars in

2007-05-02 Thread Marc Lustig
Hi, I have a classical problem but did not found a solution: on windows, über produces "³ber" Since we use Ant 1.7 I tried using the encoding attribute, but it doesn't help. Any suggestion? - To unsubscribe, e-mail: [EMAIL PRO

Re: Root drive in fileset dir

2006-10-10 Thread Marc Dzaebel
that works, thanks a lot. It seems to be impossible to escape spaces in includes/excludes attribute values. My proposal would be to introduce a "separators" attribute that defaults to "; " Marc "Matt Benson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news

Root drive in fileset dir

2006-10-10 Thread Marc Dzaebel
The following works (inside ) but if the drive letter is alone no files are included: Any idea? Thanks Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Jar Locking

2006-08-31 Thread Marc Farrow
Thanks Stephen. If I set all references to Ant to null and forced GC, would that resolve the problem? On 8/31/06, Stephen McConnell <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Thursday, 31 August 2006 6:13 AM

Jar Locking

2006-08-30 Thread Marc Farrow
t you just checked out. Anyone have any suggestions to keep the "jars" from being locked after execution of the Ant script? Thank you, Marc -- Marc Farrow

Re: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Marc Farrow
engagement must be confirmed in writing and duly signed. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Farrow

Calling Ant within a servlet/webapp

2006-08-14 Thread Marc Farrow
ntThread().getContextClassLoader()); // project.setCoreLoader(null); // project.setCoreLoader(this.getClass().getClassLoader()); // project.setCoreLoader(Thread.currentThread ().getContextClassLoader().getParent()); project.execute("dist"); } catch (Exception e) { throw new RuntimeException(e); } finally { project = null; buildfile = null; } -- Marc Farrow

Copy/flatten/name collisions

2006-04-26 Thread Levin, Gary Marc
I need to copy data files that are in the source tree with their related *.java files into a single directory. does that. What I am looking for is a warning or error to be produced if there are two files with the same name. "overwrite" does not address this problem, it only controls what is d

ant and os

2006-01-23 Thread Marc Collin
hi i search a way to do: exec rmiregistry.exe if windows else exec rmiregistry any idea? thanks -- www.laboiteaprog.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problems with current working directory and

2005-11-15 Thread marc
> Is there anyway to change directories from within ant? or what would be > the right solution to this problem. > > thanks, > Marc Dumontier > > > > - > To unsubscribe, e-m

problems with current working directory and

2005-11-15 Thread marc
ories from within ant? or what would be the right solution to this problem. thanks, Marc Dumontier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: List of directories that contain a file (ignore previous message)

2005-11-08 Thread Marc H. Graham
Just a matter of getting rid of the include, which was restricting it to one level. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 3:02 PM To: Ant Users List Subject: Re: List of directories that contain a file > Can anyone tell me

RE: List of directories that contain a file

2005-11-08 Thread Marc H. Graham
I can't say I understand this. And I couldn't get it to work. It seems that it will only look in the immediate subdirectories. I need it to go arbitrarily far down. I ran this: And I got (mi

List of directories that contain a file

2005-11-08 Thread Graham, Marc
the dirnames. Do I have to iterate using foreach? How do I get the result to be a list of directories to pass in to some other task (in this case subant)? Marc H. Graham Sr. Director, Technology SS&C Technologies [EMAIL PROTECTED] 412 421 9407

Subant supposed to do this??? (newbie)

2005-11-07 Thread Marc H. Graham
I am using subant like this: When I run it with -v I get: subant: [subant] calling target(s) [compile] in build file K:\BuildDir\WebHeatmaps\Server\SeverEventLogging\makefile.mak parsing buildfile K:\BuildDir\WebHeatmaps\Server\SeverEventLogging\makefile.mak with URI = file://

A newbie question: how not to do anything

2005-11-03 Thread Marc H. Graham
in Ant. A serious drawback, I think. Any workarounds? Marc H. Graham Sr. Director, Technology SS&C Technologies [EMAIL PROTECTED] 412 421 9407

Cpptasks help

2005-11-03 Thread Marc H. Graham
Is there a specialized help group/archive for this topic (cc)? No matter what I do, it (cc) always wants to recompile everything in the source file list. In other words, there's no dependency checking. Is there something I'm missing? Marc H. Graham

CC -- Microsoft -- outtype -- multithreaded

2005-11-02 Thread Marc H. Graham
And here's a part of the ant-output: cl /c /nologo /GX /O1 /DNDEBUG /MD /DCRTAPI1=_cdecl /DCRTAPI2=_cdecl /DWIN32 /DNDEBUG /D_CONSOLE /D_MBCS That /MD is wrong (I'm pretty sure). Any way to fix it? Marc H. Graham

1.6.3: mail task hangs with eclipse M7

2005-05-20 Thread Marc Dzaebel
The last thing I see is Sending email: Then the process hangs forever and no error message appears. Is there a way to figure out what's actually going wrong? (The mail-task works on other systems with M7) Thanks, Marc ---

Re: launch an Ant build file in a class - Sender blacklisted

2005-05-02 Thread Marc Beudin
ender blacklisted Have you looked at the CruiseControl open source project http://cruisecontrol.sourceforge.net/ Marc Beudin <[EMAIL PROTECTED]> wrote: Hi, I'm currently doing a continuous build application for my company and I'm looking for the best way to run Ant from the JVM, so

RE : [SPAM] - Re: launch an Ant build file in a class - Sender blacklisted

2005-05-02 Thread Marc Beudin
Envoyé : lundi 2 mai 2005 17:00 À : Ant Users List Objet : [SPAM] - Re: launch an Ant build file in a class - Sender blacklisted Have you looked at the CruiseControl open source project http://cruisecontrol.sourceforge.net/ Marc Beudin <[EMAIL PROTECTED]> wrote: Hi, I'm currently doing

launch an Ant build file in a class

2005-05-02 Thread Marc Beudin
Hi, I'm currently doing a continuous build application for my company and I'm looking for the best way to run Ant from the JVM, so to say launch a build file in a java class. Any hints on how to do this?? thxx

Antw: [Q] How to insert file into another?

2003-12-19 Thread Marc Klein
you can load fileB into a property: and then replace token in fileA with the property: regards Marc >>> [EMAIL PROTECTED] 19.12.03 11:52:25 >>> Question: how can I insert one file into another using ant? Eg, fileA has a token "insertHere" and I somehow wa

jarlib-display task

2003-03-25 Thread Pellier Marc
I try to run the with ant1.6alpha But nothing it's display - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

if then else with ant

2003-02-17 Thread Pellier, Marc
How can I do if (a=2) print("Message1"); else print("Message2"); with ANT Disclaimer: This electronic transmission and any files attached to it are strictly confidential and intended solely for the a