I've used Eclipse v2.1.2, v2.1.3 and now Eclipse v3.0
without every seeing this problem.  What version are
you running AND is your Ant the one that comes built-in
to Eclipse or are you calling an externally located
verion of Ant?

Regards,
David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 7:48 PM
To: Struts Users Mailing List
Subject: Re: [OT]: ant + eclipse not working .. eclipse bug?







I struck this problem with Eclipse and ant a couple a months ago.
It looked as if the java compiler was generating incomplete class files.
I can't advise of any known problem or fix to it though - I was only
evaluating Eclipse at the time and switched to another tool.

Regards,
John

[EMAIL PROTECTED]
Ph (09) 372-5010


|---------+--------------------------------->
|         |           "Lucas Gonzalez       |
|         |           Pearson"              |
|         |           <[EMAIL PROTECTED]|
|         |           gia.com.ar>           |
|         |                                 |
|         |           09/09/2004 08:26 PM   |
|         |           Please respond to     |
|         |           "Struts Users Mailing |
|         |           List"                 |
|         |                                 |
|---------+--------------------------------->
  >-------------------------------------------------------------------------
-------------------------------------|
  |
|
  |       To:       "Struts Users Mailing List" <[EMAIL PROTECTED]>
|
  |       cc:
|
  |       Subject:  [OT]: ant + eclipse not working .. eclipse bug?
|
  >-------------------------------------------------------------------------
-------------------------------------|




I have a really strange problem!

I made a mistake like this in a class
    System.out.println( ) asdfa ;

after saving the file, running ant compile throws this:
    compile:
    BUILD SUCCESSFUL

It seems like the javac task is not recompiling the class ( since using a
ant clean, ant compile works ).

If I run ant from command line or JIdea it runs properly and throws the
error on that line. So it seems it is an eclipse specific error.

This are my ant tasks that have always worked wonderfully
 <!-- Check timestamp on files -->
 <target name="prepare">
      <tstamp />
 </target>
 <!-- Normal build of application -->
 <target name="compile" depends="prepare,resources">
      <javac debug="true" debuglevel="lines,source" srcdir="src"
destdir="${webinf}/classes">
           <classpath refid="compile.classpath" />
      </javac>
 </target>

I´m using eclipse 3.1.0 and ant 1.6.2

It this an eclipse bug? a known issue maybe?
Everything helps at this stage!

Thanks a lot!
Lucas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to