assert & export [message #211263] |
Mon, 15 March 2004 10:11  |
Eclipse User |
|
|
|
Originally posted by: skywalker6.gmx.net
Hi,
I am developing an eclipse-plugin which sometimes uses assert(). When I
run it in runtim-workspace it workes fine. No I want to export it. But I
always get Errors. When I don't use assert() I dont get this Errors.
I tried many things to change this, but nothing worked. I tried:
- adding 2 lines to build.xml:
<property name="javacSource" value="1.4">
<property name="javacTarget" value="1.4"> (I tried 1.2 too)
- run ant... on build.xml and select Properties, add Property, Name:
javacSource
|
|
|
|
|
|
|
Re: assert & export [message #211659 is a reply to message #211629] |
Mon, 15 March 2004 18:05  |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.rigidsoftware.com
Olivier Thomann wrote:
> Le Mon, 15 Mar 2004 19:12:58 +0000 (UTC), skywalker6@gmx.net (Steven)
> a écrit :
>
>>Sorry, but I didn't use assert() (my fault) - I used assert without ().
>>For example I Wrote assert x==5
>>So I have to set source level to 1.4
>>But this doesn't work.
>
> Could you please send me your ant script?
> --
> Olivier
as I indicated in the bug report (AFAIK) my script is the one generated
by eclipse with no modifications. Also, the Export feature fails in the
same way. I just assume the export feature uses Ant underneath!?
--
Respectfully,
CL Gilbert
"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1
GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
|
|
|
Powered by
FUDForum. Page generated in 0.05133 seconds