Re: class path problem

2006-10-09 Thread mansour77
Yes, it worked as Scot suggested, It was the matter of using the sourcepath. Here's the desciption fro the website: *= sourcepath* The *sourcepath* to use; defaults to the value of the srcdir attribute (or nested ||

Re: class path problem

2006-10-09 Thread mansour77
WOW, guys thanks for the fast response, I really appretiate this help. I am standing in the main directory (MyProject). When I use -verbose I get alot of output, something like: [javac] MyOp1.java added as MyOp1.class doesn't exist. [javac] Op1Helper.java added as Op1Helper.class doesn't exist. .

Re: class path problem

2006-10-09 Thread Scot P. Floess
When you execute your ant script, what directory are you "standing" in? I see you give a "relative" srcdir of Operation1. Are you standing in the directory that Operation1 lives? You may also need to use sourcepath attribute. [EMAIL PROTECTED] wrote: Hi Every Body: I am facing a probelm co

Re: class path problem

2006-10-09 Thread Prashant
Use switch -verbose when running your ant target. This will spit out the 'javac' command ANT is using. Eg: ant op1 -verbose Examine how this command is different from the 'javac' command that works for you. Hope this helps. -Prashant [EMAIL PROTECTED] wrote: Hi Every Body: I am facing a pr

class path problem

2006-10-09 Thread mansour77
Hi Every Body: I am facing a probelm compile a java application. My Java application uses external and internal library. In other words, let's say i have a package called java.matrix, and I wrote a package for this project called MathOp, the layout of my project directory is : MyProject