Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » assert & export
assert & export [message #211279] Mon, 15 March 2004 10:14 Go to next message
Eclipse UserFriend
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 Value: 1.4
- under Window>Preferences>java>compiler>Compliance and Classfiles>
Compiler compliance level is 1.4

...but nothing worked.
I use eclipse 2.1.2 and java 1.4.2

any ideas? thanks, Steven
Re: assert & export [message #211299 is a reply to message #211279] Mon, 15 March 2004 10:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Steven wrote:
> 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 Value: 1.4
> - under Window>Preferences>java>compiler>Compliance and Classfiles>
> Compiler compliance level is 1.4
>
> ..but nothing worked.
> I use eclipse 2.1.2 and java 1.4.2
>
> any ideas? thanks, Steven
>

Yes, I reported a bug about this (54042). Ant does not seem to like the
keyword assert. The exports do however seem to be exported fine though.

I also use eclipse 2.1.2 but on java 1.4.1 generally.

--
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
Re: assert & export [message #211563 is a reply to message #211299] Mon, 15 March 2004 14:20 Go to previous message
Eclipse UserFriend
Originally posted by: skywalker6.gmx.net

CL [dnoyeb] Gilbert wrote:

> Steven wrote:
> > 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 Value: 1.4
> > - under Window>Preferences>java>compiler>Compliance and Classfiles>
> > Compiler compliance level is 1.4
> >
> > ..but nothing worked.
> > I use eclipse 2.1.2 and java 1.4.2
> >
> > any ideas? thanks, Steven
> >

> Yes, I reported a bug about this (54042). Ant does not seem to like the
> keyword assert. The exports do however seem to be exported fine though.

> I also use eclipse 2.1.2 but on java 1.4.1 generally.

My export doesn't work fine :( .

Steven
Previous Topic:eclipse uml plugin
Next Topic:Trace java classes
Goto Forum:
  


Current Time: Sat May 10 19:11:40 EDT 2025

Powered by FUDForum. Page generated in 0.03089 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top