Re: compile C files with ant

2008-08-10 Thread Dale Anson
See http://ant-contrib.sourceforge.net/cpptasks/index.html and http://ant-contrib.sourceforge.net/cpptasks/antdocs/CCTask.html Kamran Hameed wrote: can we compile c files (using gcc) on ant??? if yes then how - To uns

Re: Setting environment variables

2008-08-10 Thread Dominique Devienne
On Fri, Aug 1, 2008 at 3:08 PM, Yang Zhang <[EMAIL PROTECTED]> wrote: > If there's a better way to do what I'm trying to do, I'm all ears. Thanks in > advance for any answers! I think you basically have two options: 1) use or , to wrap with some child elements. 2) write your own task that does

Re: missing tools.jar????

2008-08-10 Thread Patrick Waugh
Thanks, I was messing with Java_Home and wasn't thinking!!! That fixed it completely. Patrick On Sun, Aug 10, 2008 at 11:51 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > Looks like your JAVA_HOME is pointing to the JRE... > > tools.jar contains javac and that comes with the JDK... > > Just nee

Re: missing tools.jar????

2008-08-10 Thread Scot P. Floess
Looks like your JAVA_HOME is pointing to the JRE... tools.jar contains javac and that comes with the JDK... Just need to point your JAVA_HOME to the dir that contains the JDK... On Sat, 9 Aug 2008, Patrick Waugh wrote: Hi, Everything was working fine... but now I get this: C:\Documents and

Problem with

2008-08-10 Thread Jim Showalter
I am having problems getting this to work as described. I am using Ant 1.7.1 with bcel-5.2 and java 1.6. The OS platform is Solaris 10 Unix. The bcel classParser throws a ClassFormatException when I run a very simple ant file. I put a print statement in the org.apache.bcel.classfile.ClassParser