De: Mark Modrall <[EMAIL PROTECTED]>
>First, anyone know how to tell what the two compilers
> don'tlike about each other? And second, how does one get eclipse
> to run ant
> builds?
On our project, we simply build in two different directories:
- one for Eclipse builds
- one for A
I don't have the exact error message, but the situation was this: one of
our programmers likes to code everything with generics. The compile
problem in question involved a class using generics with an internal
class also using generics (i.e.
Public class foo
{
Static public class fooNode
I think the problem is not in JVMs incompatibility but in the fact that
Eclipse uses its own Java compiler which is not the same as the one run
by Ant (or outside Eclipse in general). I am not sure what the
incompatibility between .class files is, but we experience it as well. I
would suggest s
If you have the exact error message I would search the javac and Eclipse
bug database and see if it is a known problem (with potential workaround)
HTH
Darins
"Mark Modrall" <[EMAIL PROTECTED]>
09/29/2006 12:33 PM
Please respond to
"Ant Users List"
To
"Ant Users List"
cc
Subject
RE: ant a
Start Eclipse using the -vm option so that you know exactly which JDK you
are using.
You can configure the JDK compilance for the Eclipse compiler in other
ways but using the VM option to set your default JDK to 1.5 will likely be
the easiest to fix your problem.
If you continue to have issues
I found the Java Compiler section of the Properties dialog, but as I say
it doesn't help clarify why the .class files it produces are
incompatible with the jdk javac ones.
Our eclipse project has
Compiler compliance level: 5.0
Use default compliance settings
Classfile generation:
Add variable att
Each Java Project in Eclipse has a JVM assigned to the project. If you
right-click the project name and select properties you can find it in there.
Mark Modrall wrote:
Not sure where I'd check that. I know that ant is using jdk1.5.0.6 but
I don't know how to look into what eclipse is using.
Not sure where I'd check that. I know that ant is using jdk1.5.0.6 but
I don't know how to look into what eclipse is using...
Thanks
-mark
This e-mail message, and any attachments, is intended only for the use of the
individual or entity identified in the alias address of this message an
The first thing I'd look at is what JVM is Eclipse using to compile the
code vs. what JVM is used when on the command-line.
-Shay
Mark Modrall wrote:
Hi...
We do all of our development in eclipse and use ant 1.6.5
for our nightly builds on another machine. But someone just
Hi...
We do all of our development in eclipse and use ant 1.6.5
for our nightly builds on another machine. But someone just tried to
invoke ant to run our junit tests on his dev machine. He went into the
eclipse project directory and executed the ant build.xml file there, but
the
Exactly why I was asking ;)
RADEMAKERS Tanguy wrote:
well then you could use the task ;)
-Original Message-
From: Angus Rose [mailto:[EMAIL PROTECTED]
Sent: Friday, September 29, 2006 10:13 AM
To: user@ant.apache.org
Subject: Re: Deploying to windows desktop
Yes, that would suf
well then you could use the task ;)
>-Original Message-
>From: Angus Rose [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 29, 2006 10:13 AM
>To: user@ant.apache.org
>Subject: Re: Deploying to windows desktop
>
>
>Yes, that would suffice
>
>Scot P. Floess wrote:
>>
>> Define "deploy"
Yes, that would suffice
Scot P. Floess wrote:
>
> Define "deploy"
>
> Do you mean copy the jar to the desktop?
>
> Angus Rose wrote:
>> Hi All,
>>I have a Java application deployed as a jar file that I wish to
>> deploy to the users desktop in windows. Is this possible using Ant?
>>
>>
13 matches
Mail list logo