This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 185711 - Java projects in IEP Blueprint Sample #1 fail to build
Summary: Java projects in IEP Blueprint Sample #1 fail to build
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: IEP project (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: _ alexpetrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 15:51 UTC by ian_chalmers
Modified: 2010-05-12 11:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ian_chalmers 2010-05-07 15:51:54 UTC
The Java projects created as part of the IEP Blueprint Sample #1 fail to build:

init:
deps-clean:
Updating property file: /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build/built-clean.properties
Deleting directory /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build
clean:
init:
deps-jar:
Created dir: /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build
Updating property file: /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build/built-jar.properties
Created dir: /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build/classes
Created dir: /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build/empty
Created dir: /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build/generated-sources/ap-source-output
Compiling 1 source file to /Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/build/classes
javac: source release 1.6 requires target release 1.6
/Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/nbproject/build-impl.xml:528: The following error occurred while executing this line:
/Users/ianch/NetBeansProjects/BluePrint1/BluePrint1Datafeed/nbproject/build-impl.xml:222: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)


This is due to an incorrect property value in project.properties:

javac.source=1.6
javac.target=1.5

If you change javac.target to 1.6, the project will build.

Config used:

Product Version: NetBeans IDE Dev (Build 201005060200)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.6.3 running on x86_64; MacRoman; en_US (nb)
Userdir: /Volumes/Work/qe/netbeans/userdir.69
Comment 1 Sergey Lunegov 2010-05-11 08:43:24 UTC
Alex, please take a look.
Comment 2 _ alexpetrov 2010-05-11 15:33:19 UTC
Fixed in gfesb-main: http://hg-soabi.stc.com/gfesb-main/rev/9a99b9cd214c
Comment 3 ian_chalmers 2010-05-12 11:26:04 UTC
Verified in 20100512_0007 build