[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sapphire-dev] Build failed in Hudson: sapphire-0.2.x #60
|
> Is the hudson build different from the local batch build? I didn't
> see the compiler error in the local batch build.
Hudson runs on Linux, so Windows SWT fragments aren't available.
> Is the System.getProperty("os.name") the right way?
At least for now, that's a good way to go. We can look into having
OS-specific fragments in Sapphire if there are good reasons to do that, but
it would take quite a bit of work to set that up and test, so not in scope
for 0.2 release.
- Konstantin
-----Original Message-----
From: sapphire-dev-bounces@xxxxxxxxxxx
[mailto:sapphire-dev-bounces@xxxxxxxxxxx] On Behalf Of Ling Hao
Sent: Thursday, December 16, 2010 8:35 AM
To: Sapphire project
Subject: Re: [sapphire-dev] Build failed in Hudson: sapphire-0.2.x #60
Is the hudson build different from the local batch build? I didn't see the
compiler error in the local batch build.
Is the System.getProperty("os.name") the right way?
-----Original Message-----
From: Konstantin Komissarchik
Sent: Wednesday, December 15, 2010 5:40 PM
To: Sapphire project
Subject: Re: [sapphire-dev] Build failed in Hudson: sapphire-0.2.x #60
Ling,
Please take a look as soon as possible. Sapphire cannot depend on win32
specific SWT fragment. It is not going to be available if OS is not Windows.
- Konstantin
-----Original Message-----
From: sapphire-dev-bounces@xxxxxxxxxxx
[mailto:sapphire-dev-bounces@xxxxxxxxxxx] On Behalf Of
hudsonbuild@xxxxxxxxxxx
Sent: Wednesday, December 15, 2010 5:30 PM
To: sapphire-dev@xxxxxxxxxxx
Subject: [sapphire-dev] Build failed in Hudson: sapphire-0.2.x #60
See <https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/60/changes>
Changes:
[lhao] Bug 329103 - refactoring
[kkomissarchik] Bug 332695 - Sapphire action-link lacks ability to use a
specific action handler
[lhao] Bug 329103 - refactoring
[lhao] Bug 329103 use SapphireFormText instead of FormText
[lhao] Bug 329103 Use SapphireFormText instead of FormText
------------------------------------------
[...truncated 1645 lines...]
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901
[java] [eclipse.buildScript] Bundle
org.eclipse.ecf.provider.filetransfer.httpclient.ssl:
[java] [eclipse.buildScript] Bundle org.eclipse.ui.intro:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.ui.intro_3.4.0.v20100427
[java] [eclipse.buildScript] Bundle com.ibm.icu:
[java] [eclipse.buildScript] Another singleton version selected:
com.ibm.icu_4.2.1.v20100412
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.common:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.equinox.common_3.6.0.v20100503
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.http.registry:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.equinox.http.registry_1.1.0.v20100503
[java] [eclipse.buildScript] Bundle org.eclipse.help.webapp:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.help.webapp_3.5.2.r36_r20100816
[java] [eclipse.buildScript] Bundle org.eclipse.ui.presentations.r21:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.ui.presentations.r21_3.2.200.I20100517-1500
[java] [eclipse.buildScript] Bundle org.eclipse.rcp:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.rcp_3.6.0.v201009090800
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.linux.x86_64:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.swt.gtk.linux.x86_64_3.6.1.v3655c
[java] [eclipse.buildScript] Bundle org.eclipse.jsch.ui:
[java] [eclipse.buildScript] Another singleton version selected:
org.eclipse.jsch.ui_1.1.300.I20100505-1245
[java] [eclipse.buildScript] Bundle
org.eclipse.ecf.provider.filetransfer.ssl:
[java] [eclipse.buildScript] Cannot locate source directory:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/.apt_generated.>
[java] [eclipse.buildScript] Cannot locate source directory:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling.extensibility/.apt_generated.>
[java]
[java] postGenerate:
[java]
[java] clean:
[java]
[java] allElements:
[java]
[java] allElementsDelegator:
[java]
[java] init:
[java]
[java] cleanElement:
[java] [echo]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/features/org.eclips
e.sapphire.stage2>
[java]
[java] init:
[java]
[java] clean:
[java]
[java] init:
[java]
[java] all.features:
[java]
[java] all.plugins:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] clean:
[java]
[java] pre.clean:
[java]
[java] post.clean:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] clean:
[java]
[java] pre.clean:
[java]
[java] post.clean:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] clean:
[java]
[java] pre.clean:
[java]
[java] post.clean:
[java]
[java] update.feature:
[java]
[java] all.children:
[java]
[java] process:
[java]
[java] preProcess:
[java]
[java] allElements:
[java]
[java] allElementsDelegator:
[java]
[java] init:
[java]
[java] processElement:
[java]
[java] processViaFeature:
[java]
[java] init:
[java]
[java] build.jars:
[java]
[java] init:
[java]
[java] all.features:
[java]
[java] all.plugins:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] build.jars:
[java]
[java] pre.build.jars:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] @dot:
[java] [mkdir] Created dir:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/@dot>
[java]
[java] pre.@dot:
[java] [mkdir] Created dir:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/.javacc/org/eclipse/sapphire/modeling/docsys/internal>
[java] [javacc] Java Compiler Compiler Version 4.2 (Parser
Generator)
[java] [javacc] (type "javacc" with no arguments for help)
[java] [javacc] Reading from file
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/src/org/eclipse/sapphire/modeling/docsys/internal/Documen
tationContentParser.jj> . . .
[java] [javacc] Warning: Choice conflict in (...)+ construct at line
141, column 5.
[java] [javacc] Expansion nested within construct and
expansion following construct
[java] [javacc] have common prefixes, one of which is:
<CHARACTER>
[java] [javacc] Consider using a lookahead of 2 or more for
nested expansion.
[java] [javacc] File "TokenMgrError.java" does not exist. Will
create one.
[java] [javacc] File "ParseException.java" does not exist. Will
create one.
[java] [javacc] File "Token.java" does not exist. Will create one.
[java] [javacc] File "SimpleCharStream.java" does not exist. Will
create one.
[java] [javacc] Parser generated with 0 errors and 1 warnings.
[java] [mkdir] Created dir:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/.javacc/org/eclipse/sapphire/modeling/el/parser/internal>
[java] [javacc] Java Compiler Compiler Version 4.2 (Parser
Generator)
[java] [javacc] (type "javacc" with no arguments for help)
[java] [javacc] Reading from file
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/src/org/eclipse/sapphire/modeling/el/parser/internal/Expr
essionLanguageParser.jj> . . .
[java] [javacc] Note: UNICODE_INPUT option is specified. Please make
sure you create the parser/lexer using a Reader with the correct character
encoding.
[java] [javacc] File "TokenMgrError.java" does not exist. Will
create one.
[java] [javacc] File "ParseException.java" does not exist. Will
create one.
[java] [javacc] File "Token.java" does not exist. Will create one.
[java] [javacc] File "SimpleCharStream.java" does not exist. Will
create one.
[java] [javacc] Parser generated successfully.
[java] [javac] Compiling 266 source files to
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/@dot>
[java]
[java] checkCompilationResults:
[java] [copy] Copying 30 files to
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.modeling/@dot>
[java]
[java] post.compile.@dot:
[java]
[java] post.@dot:
[java]
[java] post.build.jars:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] build.jars:
[java]
[java] pre.build.jars:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] @dot:
[java] [mkdir] Created dir:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/@dot>
[java]
[java] pre.@dot:
[java] [mkdir] Created dir:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/.apt_generated>
[java] [delete] Deleting directory
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/.apt_generated>
[java] [mkdir] Created dir:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/.apt_generated>
[java] [jar] Building MANIFEST-only jar:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/apt-classpath.jar>
[java] [delete] Deleting:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/apt-classpath.jar.manifest>
[java] [jar] Building MANIFEST-only jar:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/apt-factorypath.jar>
[java] [delete] Deleting:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/apt-factorypath.jar.manifest>
[java] [apt] Since compiler setting isn't classic or
modern,ignoring fork setting.
[java] [apt] Compiling 275 source files to
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/.apt_generated>
[java] [apt] Since compiler setting isn't classic or
modern,ignoring fork setting.
[java] [apt] warning: Annotation types without processors:
[java.lang.Override, org.eclipse.sapphire.modeling.annotations.DefaultValue,
org.eclipse.sapphire.modeling.annotations.Type,
org.eclipse.sapphire.modeling.annotations.DelegateImplementation,
java.lang.SuppressWarnings,
org.eclipse.sapphire.modeling.xml.annotations.XmlBinding,
org.eclipse.sapphire.modeling.annotations.NonNullValue,
org.eclipse.sapphire.modeling.annotations.Image,
org.eclipse.sapphire.modeling.xml.annotations.XmlListBinding.Mapping,
org.eclipse.sapphire.modeling.xml.annotations.XmlListBinding,
org.eclipse.sapphire.modeling.xml.annotations.XmlValueBinding,
org.eclipse.sapphire.modeling.annotations.Reference,
org.eclipse.sapphire.modeling.annotations.PossibleValues,
org.eclipse.sapphire.modeling.annotations.Documentation,
org.eclipse.sapphire.modeling.serialization.ValueSerialization,
org.eclipse.sapphire.modeling.java.JavaTypeConstraints,
org.eclipse.sapphire.modeling.annotations.MustExist, or
g.eclipse.sapphire.modeling.annotations.LongString,
org.eclipse.sapphire.modeling.annotations.BasePathsProvider,
org.eclipse.sapphire.modeling.annotations.ValidFileSystemResourceType,
org.eclipse.sapphire.modeling.annotations.ValidFileExtensions,
org.eclipse.sapphire.modeling.xml.annotations.CustomXmlValueBinding,
org.eclipse.sapphire.modeling.xml.annotations.CustomXmlListBinding,
org.eclipse.sapphire.modeling.annotations.DependsOn,
org.eclipse.sapphire.modeling.xml.annotations.XmlElementBinding.Mapping,
org.eclipse.sapphire.modeling.xml.annotations.XmlElementBinding,
org.eclipse.sapphire.modeling.annotations.NumericRange,
org.eclipse.sapphire.modeling.xml.annotations.XmlRootBinding]
[java] [apt] 1 warning
[java] [delete] Deleting:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/apt-classpath.jar>
[java] [delete] Deleting:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/apt-factorypath.jar>
[java] [javac] Compiling 323 source files to
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/@dot>
[java] [javac] ----------
[java] [javac] 1. ERROR in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/src/org/eclipse/sapphire/ui/swt/renderer/internal/formtext/Form
TextModel.java> (at line 26)
[java] [javac] import org.eclipse.swt.internal.win32.OS;
[java] [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[java] [javac] The import org.eclipse.swt.internal.win32 cannot be
resolved
[java] [javac] ----------
[java] [javac] 2. ERROR in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/src/org/eclipse/sapphire/ui/swt/renderer/internal/formtext/Form
TextModel.java> (at line 583)
[java] [javac] if (!OS.IsWinCE && OS.WIN32_VERSION >=
OS.VERSION (4, 10)) {
[java] [javac] ^^
[java] [javac] OS cannot be resolved to a variable
[java] [javac] ----------
[java] [javac] 3. ERROR in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/src/org/eclipse/sapphire/ui/swt/renderer/internal/formtext/Form
TextModel.java> (at line 583)
[java] [javac] if (!OS.IsWinCE && OS.WIN32_VERSION >=
OS.VERSION (4, 10)) {
[java] [javac] ^^
[java] [javac] OS cannot be resolved to a variable
[java] [javac] ----------
[java] [javac] 4. ERROR in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/src/org/eclipse/sapphire/ui/swt/renderer/internal/formtext/Form
TextModel.java> (at line 583)
[java] [javac] if (!OS.IsWinCE && OS.WIN32_VERSION >=
OS.VERSION (4, 10)) {
[java] [javac] ^^
[java] [javac] OS cannot be resolved
[java] [javac] ----------
[java] [javac] 5. ERROR in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/src/org/eclipse/sapphire/ui/swt/renderer/internal/formtext/Form
TextModel.java> (at line 584)
[java] [javac] activeForeground = Color.win32_new (display,
OS.GetSysColor (OS.COLOR_HOTLIGHT));
[java] [javac]
^^
[java] [javac] OS cannot be resolved
[java] [javac] ----------
[java] [javac] 6. ERROR in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/src/org/eclipse/sapphire/ui/swt/renderer/internal/formtext/Form
TextModel.java> (at line 584)
[java] [javac] activeForeground = Color.win32_new (display,
OS.GetSysColor (OS.COLOR_HOTLIGHT));
[java] [javac]
^^
[java] [javac] OS cannot be resolved to a variable
[java] [javac] ----------
[java] [javac] 6 problems (6 errors)
[java] [javac] Compilation failed. Compiler errors are available in
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/@dot.log>
[java]
[java] BUILD FAILED
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/target-helios
-sr1/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml>:3
6: The following error occurred while executing this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/target-helios
-sr1/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml>:1
05: The following error occurred while executing this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/pde/builder/c
ustomTargets.xml>:12: The following error occurred while executing this
line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/target-helios
-sr1/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/templates/headless-b
uild/allElements.xml>:16: The following error occurred while executing this
line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/target-helios
-sr1/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/genericTarge
ts.xml>:114: The following error occurred while executing this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/target-helios
-sr1/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/genericTarge
ts.xml>:119: The following error occurred while executing this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/features/org.eclips
e.sapphire.stage2/build.xml>:34: The following error occurred while
executing this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/features/org.eclips
e.sapphire.stage2/build.xml>:16: The following error occurred while
executing this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/build.xml>:289: The following error occurred while executing
this line:
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/plugins/org.eclipse
.sapphire.ui/build.xml>:232: Compile failed; see the compiler error output
for details.
[java]
[java] Total time: 19 seconds
[java] An error has occurred. See the log file
[java]
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build/pde/workspace
/.metadata/.log.>
BUILD FAILED
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build.xml>:48: The
following error occurred while executing this line:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build.xml>:73: The
following error occurred while executing this line:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/build.xml>:90: The
following error occurred while executing this line:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/releng/ant-library/
library.xml>:389: The following error occurred while executing this line:
<https://hudson.eclipse.org/hudson/job/sapphire-0.2.x/ws/releng/ant-library/
library.xml>:307: Java returned: 13
Total time: 2 minutes 13 seconds
[locks-and-latches] Releasing all the locks [locks-and-latches] All the
locks released Terminating xvnc.
Archiving artifacts
Recording test results
_______________________________________________
sapphire-dev mailing list
sapphire-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/sapphire-dev
_______________________________________________
sapphire-dev mailing list
sapphire-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/sapphire-dev
_______________________________________________
sapphire-dev mailing list
sapphire-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/sapphire-dev