[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: stop eclipse from generating .class files with compile errors

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Patrick Hart schreef:
> Hendrik Maryns wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> NotDashEscaped: You need GnuPG to verify this message
>>
>> Patrick Hart schreef:
>>
>>> Can I stop eclipse from generating .class files with compile errors?
>>>
>>> I have several times checked files into our source control system after
>>> ant succeeded, and would like ant to fail if it can't compile.
>>
>>
>> That?s a strange question.  A good version control system would ignore
>> .class files altogether.  Subclipse does, and I suppose standard CVS
>> too...
> 
> the problem was that I forgot to ant clean and after ant successfully
> built the project I checked them in.

Ok, the problem is probably that you check it in from the Resource
perspective or something similar.  Then it shows all the class files
too.  If you check in from a Java perspective, the class files should
automatically be ignored.

H.

-- 
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEEZKqe+7xMGD3itQRAqZEAJ4swuDTtwM7rpa/KgYhSq5H0wom6QCfdt44
S/zKVzss+RtD2W6bp1Ruuic=
=H9dW
-----END PGP SIGNATURE-----