On Mar 25, 2013, at 5:54 PM, Mike Duigou <mike.dui...@oracle.com> wrote:

> 
> On Mar 25 2013, at 14:28 , Lance Andersen wrote:
>> 
>> So I changed the values above just now from  1.5 and 1.6 to both be 1.7
>> 
>> Which worked much better.
>> 
>> 
>> This works in a jdk7 repository.
>> 
>> It looks like shared.xml was changed for jdk8  so it does not have the 
>> values above.
> 
> I made this change in the jdk8 repo. I never thought to backport it to 
> jdk1.7. If you make a patch or webrev I will be happy to review it.

Thank you Mike.  I will look to make this change and send it for a review
> 
>> 
>> 
>> Also, do you know why if this is on osx  it is building in
>> 
>> Copying 3 files to 
>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/build/windows-x86_64/classes
>> Building jar: 
>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/dist/lib/jdb42.jar
> 
> The problem is that there is no macos platform or architecture recognition in 
> the common/architectures folder. I tried creating these files in the jdk8 
> repo but ran into a problem with Ant offering inconsistent environment 
> (depending on whether the boot jdk was Apple's 6 or Oracle's 7). I haven't 
> tried to resolve these problems in jdk8.

Thanks for the explanation.  I might try to take a look at this after i make 
the above change

best
lance
> 
> Mike
> 
> 
>> 
>> Thank you for your time Joe
>> 
>> Best
>> Lance
>>> -Joe
>>> 
>>> On 3/25/2013 1:25 PM, Lance Andersen wrote:
>>>> Hi all,
>>>> 
>>>> I am trying to set up a netbeans project for JDBC within openjdk 
>>>> leveraging the existing projects that are already in jdk/make/netbeans
>>>> 
>>>> I have getting the following error and not sure why so wondered if anyone 
>>>> has encountered this before:
>>>> 
>>>> ------------------------------------------------------
>>>> 
>>>> 
>>>> ant -f 
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/make/netbeans/jdbc 
>>>> clean build
>>>> Deleting directory 
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/build/windows-x86_64/depcache
>>>> shared.clean:
>>>> clean:
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/make/netbeans/common/shared.xml:128:
>>>>  warning: 'includeantruntime' was not set, defaulting to 
>>>> build.sysclasspath=last; set to false for repeatable builds
>>>> Compiling 96 source files to 
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/build/windows-x86_64/classes
>>>> warning: [options] bootstrap class path not set in conjunction with 
>>>> -source 1.5
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/src/share/classes/javax/sql/rowset/serial/SerialClob.java:148:
>>>>  error: try-with-resources is not supported in -source 1.5
>>>>       try (Reader charStream = clob.getCharacterStream()) {
>>>> (use -source 7 or higher to enable try-with-resources)
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java:370:
>>>>  error: try-with-resources is not supported in -source 1.5
>>>>                   try (FileInputStream fis = new 
>>>> FileInputStream(ROWSET_PROPERTIES)) {
>>>> (use -source 7 or higher to enable try-with-resources)
>>>> 2 errors
>>>> 1 warning
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/make/netbeans/common/shared.xml:170:
>>>>  The following error occurred while executing this line:
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/make/netbeans/common/shared.xml:155:
>>>>  The following error occurred while executing this line:
>>>> /Users/lance/Documents/hg-workspaces/jdk7/jdk7u-dev/jdk/make/netbeans/common/shared.xml:128:
>>>>  Compile failed; see the compiler error output for details.
>>>> BUILD FAILED (total time: 2 seconds)
>>>> 
>>>> ----------------------------------------
>>>> 
>>>> If I open the project properties in netbeans, it shows 1.7 source.  This 
>>>> is with netbeans 7.3
>>>> 
>>>> Best
>>>> Lance
>>>> 
>>>> 
>>>> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
>>>> Oracle Java Engineering
>>>> 1 Network Drive
>>>> Burlington, MA 01803
>>>> lance.ander...@oracle.com
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
>> 
>> 
>> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
>> Oracle Java Engineering 
>> 1 Network Drive 
>> Burlington, MA 01803
>> lance.ander...@oracle.com
>> 
>> 
>> 
>> 
> 




Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
lance.ander...@oracle.com




Reply via email to