recent problems with JFX ant script

Anthony Petrov anthony.petrov at oracle.com
Fri Feb 15 10:26:37 UTC 2013


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