Re: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread Peter Reilly
JAVA_HOME should not be the bin directory of the java installation. It should be the jdk installation directotry - in your case: C:\tools\Java\jdk1.6.0_03 This does *not* the same as the java.home system/ant property (which points to the jre). Use ant -diagnostics so see what ant thinks of the

Re: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread FREEMAN FIREFOX
Hi Ravi, Set the JAVA_HOME as: C:\tools\Java\jdk1.6.0_03\bin and also the ANT_HOME should be set to the bin of the ANT. Setting the path to C:\toos\Java\jdk1.6.0_03 will result in compiler error. Path should be set to bin Regards Sumudu On Dec 21, 2007 3:07 PM, Ravi Roy <[EMAIL PROTECTED]> wro

Re: Resolving cyclical dependencies

2007-12-21 Thread Scot P. Floess
OK...so can you elaborate a little more? Is the source all in one tree? Separate trees? Or what? Dimitris Mouchritsas wrote: No, it's worse. It's package cyclic dependencies. Someone thought that it was a good idea, instead of making a business.util package (in business we put our ejb's) to

Re: Resolving cyclical dependencies

2007-12-21 Thread Dimitris Mouchritsas
No, it's worse. It's package cyclic dependencies. Someone thought that it was a good idea, instead of making a business.util package (in business we put our ejb's) to put all utilities in a util package. On Dec 21, 2007 3:22 PM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > So, the source is cyclic

Re: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread Ravi Roy
Sorry, that was a typo in path, actually it is C:\tools\Java\jdk1.6.0_03 Regards Ravi On 12/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > so JAVA_HOME is set to C:\toos\Java\jdk1.6.0_03 > instead of > C:\tools\Java\jdk1.6.0_03 > > ? > M- > - Original Message - > Wrom: YFMYXOEAIJJP

Re: Resolving cyclical dependencies

2007-12-21 Thread Scot P. Floess
So, the source is cyclic? Does the source exist such that everything has something like this: src/com/Foo.java (uses Bar.java) src/com/Bar.java (uses Foo.java) Or something different? If so, just define you sourcepath for javac to include src If not, can you further elaborate? Dimitris Mouc

Re: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread mgainty
so JAVA_HOME is set to C:\toos\Java\jdk1.6.0_03 instead of C:\tools\Java\jdk1.6.0_03 ? M- - Original Message - Wrom: YFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZ To: Sent: Friday, December 21, 2007 4:37 AM Subject: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler > Hi All, > > I have s

Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread Ravi Roy
Hi All, I have strange error - Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler, I have Windows XP sp2 with Ant 1.7.1alpha (my own Ant built version). I have a big project which compiles and build successfully but when JUnit tests starts and at compile time of junit tests it gives th

Resolving cyclical dependencies

2007-12-21 Thread Dimitris Mouchritsas
Hi everyone. I'm into a project that started recently. The "powers that be" wanted the dev team to re-use another project which supposedly is similar to ours. The problem is that this project is also based on a "base" project of the company. I forgot to mention I'm talking about a J2EE 1.3 project,