make file in build.xml

2008-08-11 Thread Kamran Hameed
folks i previously posted one such post. i want to call a Makefile in my build.xml. The Makefile generates a lib.so file which i want to move to a a directory in my src called /lib Here is what i do Here is the Problem. If i call the makefile manually [by g

RE: RMIC problem

2008-08-11 Thread Martin Gainty
RanIf you're looking for an example of using rmic I would look at creating rmic stubs with http://ant.apache.org/manual/CoreTasks/rmic.htmle.g. runs the rmic compiler for all classes with .class files below ${build}/classes whose classname starts with Remote. The compiled files will be stored i

RE: A way to create empty files

2008-08-11 Thread EJ Ciramella
Nope, you will have this additional target that tests for availability, then your "touch" target will have an if/unless (depending on how you configure your "availability" target) condition. This is typical. You shouldn't be too worried about many targets springing up all over the place, as long

Jar file keeps appearing in classpath

2008-08-11 Thread David Weintraub
I have a very weird jarfile that actually has an invalid format (called bad.jar in this example). I have no earthly idea how it is used, but we have to include it. I have a directory called "lib" which is referred to in my build.xml as "${library.dir}". Inside "${library.dir}" are all the files I

RMIC problem

2008-08-11 Thread Schwartz, Ran
I am running Ant 1.7.1 and have been having the following error from one of my xml files: "Error starting Kintana rmic:". I have added the tags stubversion="1.4" and iiop="true" where I have rmic base, and I am not sure what to do. Any ideas or suggestions? Thanks, Ran

Re: Build fails with error "Could not create task or type of type: eclipse.buildScript"

2008-08-11 Thread Matt Benson
This is really more of an Eclipse question, but have you verified you are running your Ant build in the same VM as Eclipse? This is (unless you want to jump through a bunch of hoops) a requirement for running the Ant tasks provided in Eclipse. HTH, Matt --- eagerbeaver <[EMAIL PROTECTED]> wrote:

Build fails with error "Could not create task or type of type: eclipse.buildScript"

2008-08-11 Thread eagerbeaver
Hi I just switched our build over from eclipse 3.2 and ANT 1.6.5 to build against eclipse 3.4 using ANT 1.7. I set the environment variable ANT_HOME (to the 1.7 install folder) and changed PATH to include %ANT_HOME%\bin. But when I run the build it falls over when it gets to the point of gener

my build runs twice

2008-08-11 Thread mfugleru
Hello, I have an issue with my build process. It seems to run 2 times and I cant see why. My console is pasted in below as well as my build.xml file. I hope someone can help me. Thank you! Buildfile: C:\Documents and Settings\mfugleru\workspace\Modulis\build.xml init: init: compile: [javac

junit.framework.AssertionFailedError: Forked Java VM exited abnormally

2008-08-11 Thread avalanche333
I am using Ant 1.7.1 and get the following message when running some of my JUnit tests: junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. at net.sf.antcontrib.logic.RunTargetTask.execute(RunTarge

Re: A way to create empty files

2008-08-11 Thread Evgeny
So there is no way to do this other than creating an additional target with an "if" attribute? On Mon, Aug 11, 2008 at 3:09 PM, Kevin Jackson <[EMAIL PROTECTED]> wrote: > I think you want to look at the Available task > > http://ant.apache.org/manual/CoreTasks/available.html > > Thanks, > Kev > >

Re: A way to create empty files

2008-08-11 Thread Kevin Jackson
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]

A way to create empty files

2008-08-11 Thread Evgeny
Is there a way to create an empty file, but when a file exist not to touch it? I would like to use but sometimes the manifest does not exist, and if I just touch it each time ... it would re-create the jar each time, not something I want. Regards, Evgeny ---