recent problems with JFX ant script

Pete Brunet peter.brunet at oracle.com
Fri Feb 15 15:10:40 UTC 2013


Another one I've see is:

...
run-vs-property-generator:
     [echo] Using
C:\Users\Pete\JavaFX\controls\jfx\build-src\genVSproperties.bat to get
VS properties.

compile-native:
     [exec] make: uname: Command not found
     [exec] make: mkdir: Command not found
     [exec] make: *** [.build-pre] Error 127

BUILD FAILED
C:\Users\Pete\JavaFX\controls\jfx\build-src\build-components.xml:324:
The following error occurred while executing this line:
...

This was after a reboot, start cygwin, run vsvars.sh, unset tmp, unset
temp, ant clean, ant -Dhudson.jfx.job.name=8.0-controls-scrum  sdk-no-docs

I haven't figured out how to workaround that yet.  (I forgot to turn off
Norton 360 auto-protect so maybe that's it - or maybe not - I haven't
had problems with JFX builds until this week.)

Pete

On 2/15/13 4:26 AM, Anthony Petrov wrote:
> It's a known issue:
>
> http://javafx-jira.kenai.com/browse/RT-27210
>
> -- 
> best regards,
> Anthony
>
> On 2/15/2013 0:32, Pete Brunet wrote:
>> I ran into two new problems building JFX on Win 7 this week:
>>
>> 1) I had to unset lowercase tmp and temp.  Apparently there is a new
>> problem with having duplicates, TMP/tmp and TEMP/temp.  This may be
>> related to http://www.cmake.org/Bug/print_bug_page.php?bug_id=13131
>>
>> The failure appeared as:
>>
>> launcher-win:
>>      [echo] STARTING: C:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\Common7\IDE\devenv.com native/windows
>>      [echo] C:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\Common7\IDE\devenv.com /build Release|Win32 IconSwap.vcxproj
>>      [exec]
>>      [exec] Microsoft (R) Visual Studio Version 10.0.30319.1.
>>      [exec] Copyright (coffee) Microsoft Corp. All rights reserved.
>>      [exec] 1>------ Build started: Project: IconSwap, Configuration:
>> Release Win32 ------
>>      [exec] 1>C:\Program Files
>> (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5):
>>
>> error MSB6001: Invalid command line switch for "CL.exe". Item has
>> already been added. Key in dictionary: 'tmp'  Key being added: 'TMP'
>>      [exec] ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0
>> skipped ===
>>
>> 2) DEVENVDIR somehow gets unset.  I had to rerun vsvars.sh to fix it.
>> This failure appeared as:
>>
>> needs-devenv:
>>      [echo] Using
>> C:\Users\Pete\JavaFX\controls-RT-26343\jfx\rt-closed\glass\glass-mat-lib-windows\${windows.vs.DEVENVCMD}.
>>
>>
>> BUILD FAILED
>>
>> Both of these showed up when building on Windows 7 which I haven't done
>> in a while.  I was just rerunning the ant script over and over after
>> source code changes.  I use ant -Dhudson.jfx.job.name=8.0-controls-scrum
>> sdk-no-docs
>>
>> Since the problem is intermittent I supposed these could be related to
>> the combination of cygwin/Norton360.  I'll disable Norton auto-protect
>> for a while to see if that helps, but wanted to let others know of this
>> in case it's helpful.
>>
>> Pete




More information about the build-dev mailing list