Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Building project with compiler compilance 1.4
Building project with compiler compilance 1.4 [message #122215] Wed, 26 November 2003 05:27 Go to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

How can I enforce a plugin builded with build scripts generated by PDE to
compile using the 1.4 compilance setting (assert statements)?

Cu, Gunnar
Re: Building project with compiler compilance 1.4 [message #122498 is a reply to message #122215] Wed, 26 November 2003 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsk.email.arizona.edu

Preferences->Java->Compiler->I think its the 2nd or 3rd tab->Language:
Change to "1.4"

My names might not be exact, but its a compiiler setting.

Gunnar Wagenknecht wrote:

> Hi!
>
> How can I enforce a plugin builded with build scripts generated by PDE to
> compile using the 1.4 compilance setting (assert statements)?
>
> Cu, Gunnar
>
>
Re: Building project with compiler compilance 1.4 [message #122603 is a reply to message #122215] Wed, 26 November 2003 17:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier_thomann.ca.ibm.comNOSPAM

Le Wed, 26 Nov 2003 11:27:23 +0100, "Gunnar Wagenknecht"
<g.wagenknecht@intershop.de> a écrit :
>How can I enforce a plugin builded with build scripts generated by PDE to
>compile using the 1.4 compilance setting (assert statements)?
In the javac task, you have to specify source="1.4". This is an ant
setting.
--
Olivier
Re: Building project with compiler compilance 1.4 [message #122610 is a reply to message #122603] Wed, 26 November 2003 18:17 Go to previous message
Eclipse UserFriend
A launch configuration is auto-generated by PDE for the build.xml that is
generated by Create Ant Build file for the plugin.xml.
This launch configuration has many properties set to default values.
Use Run Ant... on the build.xml file to open the launch configuration
dialog.
On the Properties tab, change the "javacSource" property to "1.4"
No need to change the build file (though this will work as well as Olivier
stated).

HTH
Darins

"Olivier Thomann" <olivier_thomann@ca.ibm.comNOSPAM> wrote in message
news:02basvkih3h2bqv1n5t8k4allgsabulhbh@4ax.com...
> Le Wed, 26 Nov 2003 11:27:23 +0100, "Gunnar Wagenknecht"
> <g.wagenknecht@intershop.de> a
Previous Topic:Names on Editor Tabs Shrinking
Next Topic:Home and End does not work properly in M3I20031104
Goto Forum:
  


Current Time: Thu Jul 17 21:38:57 EDT 2025

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

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

Back to the top