pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: Build failed in Jenkins: Pivot-trunk on Java 8 #779
Date Sun, 09 Jul 2017 10:32:43 GMT
Hi Niclas,
should be something related to default classpath where JavaFX classes
has priority (but they provide a different version of
netscape.javascript classes), some info
[here](https://issues.apache.org/jira/browse/PIVOT-872), and for
better compatibility with Java 8 Roger did some work to make all work
(now I don't remember exact JIRA issues, fixed even in 2.0.5).

As a quick workaround, in my local dev environments I define a custom
CLASSPATH with only required libraries to build Pivot sources.
Keep me updated :-) .

Bye


2017-07-09 7:42 GMT+02:00 Niclas Hedhman <niclas@hedhman.org>:
> If the tests in build.xml and in the pivot_trunk/build.xml are removed,
> then I will get that netscape.javascript is not present in
> BrowserApplicationContext
>
> Where do  I get that? SO says it is in the Java plugin, but I have that
> installed and I can't locate a jar that contains any netscape classes.
>
>
> On Sat, Jul 8, 2017 at 7:35 AM, Roger and Beth Whitcomb <
> RogerandBeth@rbwhitcomb.com> wrote:
>
>> Okay, I give up!  I don't know at all what's going wrong here... Tried a
>> bunch of things and none worked...
>>
>> Looking at the "junit-4.12.jar" file it has this "org.junit.Assert"
>> class.  The right .jar files are in the CLASSPATH, I took out the
>> problematic "${env.CLASSPATH}" that had no value....
>>
>> Thanks,
>> ~Roger
>>
>>
>> On 7/7/17 3:14 PM, Apache Jenkins Server wrote:
>>
>>> See <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>>> 779/display/redirect?page=changes>
>>>
>>> Changes:
>>>
>>> [rwhitcomb] Another attempt to fix Jenkins build issues with updated
>>> JUnit checks.
>>>
>>> ------------------------------------------
>>> Started by user rwhitcomb
>>> [EnvInject] - Loading node environment variables.
>>> Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace <
>>> https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/>
>>> Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/.>
>>> to depth infinity with ignoreExternals: false
>>> Updating http://svn.apache.org/repos/asf/pivot/jenkins at revision
>>> '2017-07-07T22:13:51.771 +0000'
>>> U         build.xml
>>> At revision 1801240
>>>
>>> Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>>> ws/pivot_trunk> to depth infinity with ignoreExternals: false
>>> Updating http://svn.apache.org/repos/asf/pivot/trunk at revision
>>> '2017-07-07T22:13:51.771 +0000'
>>> At revision 1801240
>>>
>>> No changes for http://svn.apache.org/repos/asf/pivot/trunk since the
>>> previous build
>>> [EnvInject] - Executing scripts and injecting environment variables after
>>> the SCM step.
>>> [Pivot-trunk on Java 8] $ /home/jenkins/tools/ant/latest/bin/ant check
>>> clean package test doc deploy package-tests package-sources package-javadoc
>>> Buildfile: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>>> ws/build.xml>
>>>
>>> help:
>>>       [echo] Using Classpath: <https://builds.apache.org/job
>>> /Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/
>>> hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-
>>> trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<
>>> https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-
>>> on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:<https://buil
>>> ds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_
>>> trunk/${env.CLASSPATH}
>>> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/$%7Benv.CLASSPATH%7D>
>>> >:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/charsets.jar:/
>>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/deploy.
>>> jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/
>>> cldrdata.jar:/usr/local/asfpackages/java/jdk1.8.0_131/
>>> jre/lib/ext/dnsns.jar:/usr/local/asfpackages/java/jdk1.8.
>>> 0_131/jre/lib/ext/jaccess.jar:/usr/local/asfpackages/java/
>>> jdk1.8.0_131/jre/lib/ext/localedata.jar:/usr/local/
>>> asfpackages/java/jdk1.8.0_131/jre/lib/ext/nashorn.jar:/usr/
>>> local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/sunec.jar:/
>>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/
>>> sunjce_provider.jar:/usr/local/asfpackages/java/jdk1.8.
>>> 0_131/jre/lib/ext/sunpkcs11.jar:/usr/local/asfpackages/
>>> java/jdk1.8.0_131/jre/lib/ext/zipfs.jar:/usr/local/asfpackag
>>> es/java/jdk1.8.0_131/jre/lib/javaws.jar:/usr/local/asfpacka
>>> ges/java/jdk1.8.0_131/jre/lib/jce.jar:/usr/local/asfpackages
>>> /java/jdk1.8.0_131/jre/lib/jfr.jar:/usr/local/asfpackages
>>> /java/jdk1.8.0_131/jre/lib/jfxswt.jar:/usr/local/asfpacka
>>> ges/java/jdk1.8.0_131/jre/lib/jsse.jar:/usr/local/asfpackage
>>> s/java/jdk1.8.0_131/jre/lib/management-agent.jar:/usr/
>>> local/asfpackages/java/jdk1.8.0_131/jre/lib/plugin.jar:/usr/
>>> local/asfpackages/java/jdk1.8.0_131/jre/lib/resources.jar:/
>>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/rt.jar:/
>>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/security/
>>> US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.
>>> 0_131/jre/lib/security/local_policy.jar
>>>
>>> check:
>>>
>>> BUILD FAILED
>>> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/build.xml>:101:
>>> class "org.junit.Assert" was not found
>>>
>>> Total time: 0 seconds
>>> Build step 'Invoke Ant' marked build as failure
>>>
>>>
>>>
>>
>>
>
>
> --
> Niclas Hedhman, Software Developer
> http://polygene.apache.org - New Energy for Java

Mime
View raw message