You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Darrell Pittman (JIRA)" <ji...@apache.org> on 2008/11/30 16:29:44 UTC

[jira] Created: (SLING-744) Build Failure on Windows XP

Build Failure on Windows XP
---------------------------

                 Key: SLING-744
                 URL: https://issues.apache.org/jira/browse/SLING-744
             Project: Sling
          Issue Type: Bug
          Components: JCR Install
         Environment: Windows XP, java 1.6.0_03
            Reporter: Darrell Pittman


I did the following:

svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
cd sling
mvn -s settings.xml clean install. 

Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.

I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  Here is the test report:

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="27.61" errors="1" skipped="0" tests="7" name="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest">
  <properties>
    <property name="java.vendor" value="Sun Microsystems Inc."/>
    <property name="localRepository" value="C:\Documents and Settings\darrell\.m2\repository"/>
    <property name="sun.java.launcher" value="SUN_STANDARD"/>
    <property name="sun.management.compiler" value="HotSpot Client Compiler"/>
    <property name="env.PROMPT" value="$P$G"/>
    <property name="os.name" value="Windows XP"/>
    <property name="env.FP_NO_HOST_CHECK" value="NO"/>
    <property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.6.0_03\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_03\jre\classes"/>
    <property name="env.COMPUTERNAME" value="DELL_LAPTOP"/>
    <property name="env.ALLUSERSPROFILE" value="C:\Documents and Settings\All Users"/>
    <property name="sun.desktop" value="windows"/>
    <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
    <property name="java.runtime.version" value="1.6.0_03-b05"/>
    <property name="env.HOMEPATH" value="\Documents and Settings\darrell"/>
    <property name="user.name" value="darrell"/>
    <property name="env.QTJAVA" value="C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip"/>
    <property name="user.language" value="en"/>
    <property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.6.0_03\jre\bin"/>
    <property name="classworlds.conf" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin\m2.conf"/>
    <property name="java.version" value="1.6.0_03"/>
    <property name="env.PROCESSOR_IDENTIFIER" value="x86 Family 6 Model 13 Stepping 8, GenuineIntel"/>
    <property name="user.timezone" value="America/St_Johns"/>
    <property name="env.CLIENTNAME" value="Console"/>
    <property name="env.TEMP" value="C:\DOCUME~1\darrell\LOCALS~1\Temp"/>
    <property name="sun.arch.data.model" value="32"/>
    <property name="env.APR_ICONV_PATH" value="C:\Program Files\Subversion\iconv"/>
    <property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.6.0_03\jre\lib\endorsed"/>
    <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86"/>
    <property name="env.HOMEDRIVE" value="C:"/>
    <property name="sun.jnu.encoding" value="Cp1252"/>
    <property name="file.encoding.pkg" value="sun.io"/>
    <property name="file.separator" value="\"/>
    <property name="java.specification.name" value="Java Platform API Specification"/>
    <property name="java.class.version" value="50.0"/>
    <property name="user.country" value="CA"/>
    <property name="java.home" value="C:\Program Files\Java\jdk1.6.0_03\jre"/>
    <property name="env.APPDATA" value="C:\Documents and Settings\darrell\Application Data"/>
    <property name="java.vm.info" value="mixed mode, sharing"/>
    <property name="env.ComSpec" value="C:\WINDOWS\system32\cmd.exe"/>
    <property name="env.OS" value="Windows_NT"/>
    <property name="env.CommonProgramFiles" value="C:\Program Files\Common Files"/>
    <property name="os.version" value="5.1"/>
    <property name="env.RUBYOPT" value="-rubygems"/>
    <property name="path.separator" value=";"/>
    <property name="java.vm.version" value="1.6.0_03-b05"/>
    <property name="org.apache.jackrabbit.core.util.RepositoryLock:C:\MyPrograms\sling\extensions\jcrinstall\target\repository" value="org.apache.jackrabbit.core.util.RepositoryLock:C:\MyPrograms\sling\extensions\jcrinstall\target\repository"/>
    <property name="user.variant" value=""/>
    <property name="env.USERPROFILE" value="C:\Documents and Settings\darrell"/>
    <property name="env.JAVA_HOME" value="C:\Program Files\Java\jdk1.6.0_03"/>
    <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
    <property name="env.TMP" value="C:\DOCUME~1\darrell\LOCALS~1\Temp"/>
    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
    <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
    <property name="user.home" value="C:\Documents and Settings\darrell"/>
    <property name="env.SESSIONNAME" value="Console"/>
    <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
    <property name="env.CLASSPATH" value=".;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip"/>
    <property name="env.M2_HOME" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9"/>
    <property name="env.NUMBER_OF_PROCESSORS" value="1"/>
    <property name="java.library.path" value="C:\Program Files\Java\jdk1.6.0_03\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.5.0_11\bin;C:\Program Files\Java\jdk1.5.0_11\jre\bin;C:\MyPrograms\RubyAll\Ruby 1.8.5\ruby\bin;C:\MyPrograms\RubyAll\Ruby 1.8\ruby\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\product\10.2.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\MyPrograms\grails-0.4\bin;C:\Program Files\doxygen\bin;C:\MyPrograms\merak\php;C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin;C:\Program Files\TortoiseSVN\bin"/>
    <property name="java.vendor.url" value="http://java.sun.com/"/>
    <property name="env.MAVEN_CMD_LINE_ARGS" value="-s settings.xml clean install"/>
    <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
    <property name="maven.home" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9"/>
    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
    <property name="java.class.path" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\boot\classworlds-1.1.jar"/>
    <property name="env.MAVEN_JAVA_EXE" value="&quot;C:\Program Files\Java\jdk1.6.0_03\bin\java.exe&quot;"/>
    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
    <property name="env.LOGONSERVER" value="\\DELL_LAPTOP"/>
    <property name="env.windir" value="C:\WINDOWS"/>
    <property name="java.vm.specification.version" value="1.0"/>
    <property name="env.PROCESSOR_ARCHITECTURE" value="x86"/>
    <property name="sun.os.patch.level" value="Service Pack 3"/>
    <property name="sun.cpu.endian" value="little"/>
    <property name="env.HOME" value="C:\Documents and Settings\darrell"/>
    <property name="env.ProgramFiles" value="C:\Program Files"/>
    <property name="env.ANT_HOME" value="C:\MyPrograms\Apache Software Foundation\apache-ant-1.7.0"/>
    <property name="surefire.test.class.path" value="C:\MyPrograms\sling\extensions\jcrinstall\target\test-classes;C:\MyPrograms\sling\extensions\jcrinstall\target\classes;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.osgi.core\1.2.0\org.osgi.core-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.osgi.compendium\1.2.0\org.osgi.compendium-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.osgi.foundation\1.2.0\org.osgi.foundation-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.apache.felix.configadmin\1.0.4\org.apache.felix.configadmin-1.0.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.0.2-incubator\org.apache.sling.jcr.api-2.0.2-incubator.jar;C:\Documents and Settings\darrell\.m2\repository\javax\jcr\jcr\1.0\jcr-1.0.jar;C:\Documents and Settings\darrell\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api-2.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\slf4j\slf4j-simple\1.5.2\slf4j-simple-1.5.2.jar;C:\Documents and Settings\darrell\.m2\repository\org\slf4j\slf4j-api\1.5.2\slf4j-api-1.5.2.jar;C:\Documents and Settings\darrell\.m2\repository\junit\junit\4.3\junit-4.3.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.commons.testing\2.0.2-incubator\org.apache.sling.commons.testing-2.0.2-incubator.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.api\2.0.2-incubator\org.apache.sling.api-2.0.2-incubator.jar;C:\Documents and Settings\darrell\.m2\repository\rhino\js\1.6R6\js-1.6R6.jar;C:\Documents and Settings\darrell\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Documents and Settings\darrell\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.runmode\2.0.3-incubator-SNAPSHOT\org.apache.sling.runmode-2.0.3-incubator-SNAPSHOT.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.apache.felix.shell\1.0.0\org.apache.felix.shell-1.0.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.apache.felix.webconsole\1.2.0\org.apache.felix.webconsole-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\jmock\jmock-junit4\2.2.0\jmock-junit4-2.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\jmock\jmock\2.2.0\jmock-2.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\hamcrest\hamcrest-core\1.1\hamcrest-core-1.1.jar;C:\Documents and Settings\darrell\.m2\repository\org\hamcrest\hamcrest-library\1.1\hamcrest-library-1.1.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-core\1.4.3\jackrabbit-core-1.4.3.jar;C:\Documents and Settings\darrell\.m2\repository\concurrent\concurrent\1.3.4\concurrent-1.3.4.jar;C:\Documents and Settings\darrell\.m2\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-api\1.4\jackrabbit-api-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-jcr-commons\1.4.2\jackrabbit-jcr-commons-1.4.2.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-spi-commons\1.4\jackrabbit-spi-commons-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-spi\1.4\jackrabbit-spi-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-text-extractors\1.4\jackrabbit-text-extractors-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\poi\poi\2.5.1-final-20040804\poi-2.5.1-final-20040804.jar;C:\Documents and Settings\darrell\.m2\repository\pdfbox\pdfbox\0.6.4\pdfbox-0.6.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\textmining\tm-extractors\0.4\tm-extractors-0.4.jar;C:\Documents and Settings\darrell\.m2\repository\nekohtml\nekohtml\1.9.6.2\nekohtml-1.9.6.2.jar;C:\Documents and Settings\darrell\.m2\repository\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.jar;C:\Documents and Settings\darrell\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\lucene\lucene-core\2.2.0\lucene-core-2.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\derby\derby\10.2.1.6\derby-10.2.1.6.jar;"/>
    <property name="java.io.tmpdir" value="C:\DOCUME~1\darrell\LOCALS~1\Temp\"/>
    <property name="env.PROCESSOR_REVISION" value="0d08"/>
    <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
    <property name="env.MAVEN_OPTS" value="-Xms256m -Xmx512m"/>
    <property name="env.SystemRoot" value="C:\WINDOWS"/>
    <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
    <property name="os.arch" value="x86"/>
    <property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
    <property name="env.PERL5LIB" value="C:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;C:\oracle\product\10.2.0\db_2\perl\5.8.3\lib;C:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;C:\oracle\product\10.2.0\db_2\perl\site\5.8.3;C:\oracle\product\10.2.0\db_2\perl\site\5.8.3\lib;C:\oracle\product\10.2.0\db_2\sysman\admin\scripts;"/>
    <property name="user.dir" value="C:\MyPrograms\sling\extensions\jcrinstall"/>
    <property name="line.separator" value="
"/>
    <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/>
    <property name="env.CLASSWORLDS_JAR" value="&quot;C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\boot\classworlds-1.1.jar&quot;"/>
    <property name="env.PATHEXT" value=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW"/>
    <property name="env.Path" value="C:\Program Files\Java\jdk1.5.0_11\bin;C:\Program Files\Java\jdk1.5.0_11\jre\bin;C:\MyPrograms\RubyAll\Ruby 1.8.5\ruby\bin;C:\MyPrograms\RubyAll\Ruby 1.8\ruby\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\product\10.2.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\MyPrograms\grails-0.4\bin;C:\Program Files\doxygen\bin;C:\MyPrograms\merak\php;C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin;C:\Program Files\TortoiseSVN\bin"/>
    <property name="basedir" value="C:\MyPrograms\sling\extensions\jcrinstall"/>
    <property name="env.ERROR_CODE" value="0"/>
    <property name="env.M2" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin"/>
    <property name="env.USERNAME" value="darrell"/>
    <property name="env.SystemDrive" value="C:"/>
    <property name="file.encoding" value="Cp1252"/>
    <property name="env.GRAILS_HOME" value="C:\MyPrograms\grails-0.4"/>
    <property name="env.USERDOMAIN" value="DELL_LAPTOP"/>
    <property name="java.specification.version" value="1.6"/>
    <property name="env.SonicCentral" value="C:\Program Files\Common Files\Sonic Shared\Sonic Central\"/>
    <property name="env.PROCESSOR_LEVEL" value="6"/>
  </properties>
  <testcase time="23.578" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testSingleResourceDetection">
    <error message="not all expectations were satisfied" type="not all expectations were satisfied
expectations">not all expectations were satisfied
expectations:
  allowed, already invoked 3 times: osgiController.executeScheduledOperations(); returns a default value
  allowed, already invoked 1 time: osgiController.setResourceOverrideRules(ANYTHING); returns a default value
  allowed, already invoked 4 times: osgiController.getInstalledUris(); returns &lt;[/libs/foo/bar/install/dummy.jar]&gt;
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;phase1&quot;); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;/libs/foo/bar/install/dummy.jar&quot;); in sequence ResourceDetectionTest; returns null
  expected exactly 1 time, already invoked 1 time: osgiController.scheduleInstallOrUpdate(&quot;/libs/foo/bar/install/dummy.jar&quot;, ANYTHING); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;phase2&quot;); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;/libs/foo/bar/install/dummy.jar&quot;); in sequence ResourceDetectionTest; returns &quot;1228057080360&quot;
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;phase3&quot;); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, never invoked: osgiController.getDigest(&quot;/libs/foo/bar/install/dummy.jar&quot;); in sequence ResourceDetectionTest; returns &quot;1228057080360&quot;
  expected exactly 1 time, never invoked: osgiController.scheduleInstallOrUpdate(&quot;/libs/foo/bar/install/dummy.jar&quot;, ANYTHING); in sequence ResourceDetectionTest; returns a default value
	at org.jmock.Mockery.assertIsSatisfied(Mockery.java:180)
	at org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.testSingleResourceDetection(ResourceDetectionTest.java:153)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
</error>
    <system-err>813 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Starting repository...
860 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\repository
1141 [main] INFO org.apache.jackrabbit.core.nodetype.NodeTypeRegistry - no custom node type definitions found
1157 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\version
11750 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Database: Apache Derby / 10.2.1.6 - (452058)
11750 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
13922 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\version\blobs
14063 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - initializing workspace &apos;default&apos;...
14063 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\workspaces\default
20375 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Database: Apache Derby / 10.2.1.6 - (452058)
20375 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
21547 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\workspaces\default\blobs
21766 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace &apos;default&apos; initialized
22016 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\repository\index
23250 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index initialized: target/repository/repository/index Version: 2
23266 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\workspaces\default\index
23266 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index initialized: target\repository\workspaces\default/index Version: 2
23266 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository started
23579 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.MockRepositoryObserver - Using default folder name regexp &apos;.*/install$&apos;
23579 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Watching folder /libs/foo/bar/install
23579 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Watching folder /libs/foo/wii/install
23594 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Watching folder /apps/install
23735 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Resource /libs/foo/bar/install/dummy.jar was not installed yet, installing in OsgiController
23766 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Resource /libs/foo/bar/install/dummy.jar not modified, ignoring
</system-err>
  </testcase>
  <testcase time="0.375" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testMultipleResourceDetection"/>
  <testcase time="0.937" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testIgnoredFilenames"/>
  <testcase time="1.156" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testInitialDeletions"/>
  <testcase time="0.219" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testInitialDeletionsWithException"/>
  <testcase time="0.328" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testMultipleResourcesWithException"/>
  <testcase time="0.985" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testFolderRegexpChange"/>
</testsuite>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-744) Build Failure on Windows XP

Posted by "Darrell Pittman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darrell Pittman updated SLING-744:
----------------------------------

    Attachment: TEST-org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.xml

surefire-test report

> Build Failure on Windows XP
> ---------------------------
>
>                 Key: SLING-744
>                 URL: https://issues.apache.org/jira/browse/SLING-744
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>         Environment: Windows XP, java 1.6.0_03
>            Reporter: Darrell Pittman
>         Attachments: TEST-org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.xml
>
>
> I did the following:
> svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
> cd sling
> mvn -s settings.xml clean install. 
> Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.
> I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test reports.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-744) Build Failure on Windows XP

Posted by "Darrell Pittman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darrell Pittman updated SLING-744:
----------------------------------

    Description: 
I did the following:

svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
cd sling
mvn -s settings.xml clean install. 

Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.

I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test reports.

  was:
I did the following:

svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
cd sling
mvn -s settings.xml clean install. 

Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.

I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  Here is the test report:

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="27.61" errors="1" skipped="0" tests="7" name="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest">
  <properties>
    <property name="java.vendor" value="Sun Microsystems Inc."/>
    <property name="localRepository" value="C:\Documents and Settings\darrell\.m2\repository"/>
    <property name="sun.java.launcher" value="SUN_STANDARD"/>
    <property name="sun.management.compiler" value="HotSpot Client Compiler"/>
    <property name="env.PROMPT" value="$P$G"/>
    <property name="os.name" value="Windows XP"/>
    <property name="env.FP_NO_HOST_CHECK" value="NO"/>
    <property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.6.0_03\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_03\jre\classes"/>
    <property name="env.COMPUTERNAME" value="DELL_LAPTOP"/>
    <property name="env.ALLUSERSPROFILE" value="C:\Documents and Settings\All Users"/>
    <property name="sun.desktop" value="windows"/>
    <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
    <property name="java.runtime.version" value="1.6.0_03-b05"/>
    <property name="env.HOMEPATH" value="\Documents and Settings\darrell"/>
    <property name="user.name" value="darrell"/>
    <property name="env.QTJAVA" value="C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip"/>
    <property name="user.language" value="en"/>
    <property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.6.0_03\jre\bin"/>
    <property name="classworlds.conf" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin\m2.conf"/>
    <property name="java.version" value="1.6.0_03"/>
    <property name="env.PROCESSOR_IDENTIFIER" value="x86 Family 6 Model 13 Stepping 8, GenuineIntel"/>
    <property name="user.timezone" value="America/St_Johns"/>
    <property name="env.CLIENTNAME" value="Console"/>
    <property name="env.TEMP" value="C:\DOCUME~1\darrell\LOCALS~1\Temp"/>
    <property name="sun.arch.data.model" value="32"/>
    <property name="env.APR_ICONV_PATH" value="C:\Program Files\Subversion\iconv"/>
    <property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.6.0_03\jre\lib\endorsed"/>
    <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86"/>
    <property name="env.HOMEDRIVE" value="C:"/>
    <property name="sun.jnu.encoding" value="Cp1252"/>
    <property name="file.encoding.pkg" value="sun.io"/>
    <property name="file.separator" value="\"/>
    <property name="java.specification.name" value="Java Platform API Specification"/>
    <property name="java.class.version" value="50.0"/>
    <property name="user.country" value="CA"/>
    <property name="java.home" value="C:\Program Files\Java\jdk1.6.0_03\jre"/>
    <property name="env.APPDATA" value="C:\Documents and Settings\darrell\Application Data"/>
    <property name="java.vm.info" value="mixed mode, sharing"/>
    <property name="env.ComSpec" value="C:\WINDOWS\system32\cmd.exe"/>
    <property name="env.OS" value="Windows_NT"/>
    <property name="env.CommonProgramFiles" value="C:\Program Files\Common Files"/>
    <property name="os.version" value="5.1"/>
    <property name="env.RUBYOPT" value="-rubygems"/>
    <property name="path.separator" value=";"/>
    <property name="java.vm.version" value="1.6.0_03-b05"/>
    <property name="org.apache.jackrabbit.core.util.RepositoryLock:C:\MyPrograms\sling\extensions\jcrinstall\target\repository" value="org.apache.jackrabbit.core.util.RepositoryLock:C:\MyPrograms\sling\extensions\jcrinstall\target\repository"/>
    <property name="user.variant" value=""/>
    <property name="env.USERPROFILE" value="C:\Documents and Settings\darrell"/>
    <property name="env.JAVA_HOME" value="C:\Program Files\Java\jdk1.6.0_03"/>
    <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
    <property name="env.TMP" value="C:\DOCUME~1\darrell\LOCALS~1\Temp"/>
    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
    <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
    <property name="user.home" value="C:\Documents and Settings\darrell"/>
    <property name="env.SESSIONNAME" value="Console"/>
    <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
    <property name="env.CLASSPATH" value=".;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip"/>
    <property name="env.M2_HOME" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9"/>
    <property name="env.NUMBER_OF_PROCESSORS" value="1"/>
    <property name="java.library.path" value="C:\Program Files\Java\jdk1.6.0_03\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.5.0_11\bin;C:\Program Files\Java\jdk1.5.0_11\jre\bin;C:\MyPrograms\RubyAll\Ruby 1.8.5\ruby\bin;C:\MyPrograms\RubyAll\Ruby 1.8\ruby\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\product\10.2.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\MyPrograms\grails-0.4\bin;C:\Program Files\doxygen\bin;C:\MyPrograms\merak\php;C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin;C:\Program Files\TortoiseSVN\bin"/>
    <property name="java.vendor.url" value="http://java.sun.com/"/>
    <property name="env.MAVEN_CMD_LINE_ARGS" value="-s settings.xml clean install"/>
    <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
    <property name="maven.home" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9"/>
    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
    <property name="java.class.path" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\boot\classworlds-1.1.jar"/>
    <property name="env.MAVEN_JAVA_EXE" value="&quot;C:\Program Files\Java\jdk1.6.0_03\bin\java.exe&quot;"/>
    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
    <property name="env.LOGONSERVER" value="\\DELL_LAPTOP"/>
    <property name="env.windir" value="C:\WINDOWS"/>
    <property name="java.vm.specification.version" value="1.0"/>
    <property name="env.PROCESSOR_ARCHITECTURE" value="x86"/>
    <property name="sun.os.patch.level" value="Service Pack 3"/>
    <property name="sun.cpu.endian" value="little"/>
    <property name="env.HOME" value="C:\Documents and Settings\darrell"/>
    <property name="env.ProgramFiles" value="C:\Program Files"/>
    <property name="env.ANT_HOME" value="C:\MyPrograms\Apache Software Foundation\apache-ant-1.7.0"/>
    <property name="surefire.test.class.path" value="C:\MyPrograms\sling\extensions\jcrinstall\target\test-classes;C:\MyPrograms\sling\extensions\jcrinstall\target\classes;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.osgi.core\1.2.0\org.osgi.core-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.osgi.compendium\1.2.0\org.osgi.compendium-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.osgi.foundation\1.2.0\org.osgi.foundation-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.apache.felix.configadmin\1.0.4\org.apache.felix.configadmin-1.0.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.0.2-incubator\org.apache.sling.jcr.api-2.0.2-incubator.jar;C:\Documents and Settings\darrell\.m2\repository\javax\jcr\jcr\1.0\jcr-1.0.jar;C:\Documents and Settings\darrell\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api-2.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\slf4j\slf4j-simple\1.5.2\slf4j-simple-1.5.2.jar;C:\Documents and Settings\darrell\.m2\repository\org\slf4j\slf4j-api\1.5.2\slf4j-api-1.5.2.jar;C:\Documents and Settings\darrell\.m2\repository\junit\junit\4.3\junit-4.3.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.commons.testing\2.0.2-incubator\org.apache.sling.commons.testing-2.0.2-incubator.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.api\2.0.2-incubator\org.apache.sling.api-2.0.2-incubator.jar;C:\Documents and Settings\darrell\.m2\repository\rhino\js\1.6R6\js-1.6R6.jar;C:\Documents and Settings\darrell\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Documents and Settings\darrell\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\sling\org.apache.sling.runmode\2.0.3-incubator-SNAPSHOT\org.apache.sling.runmode-2.0.3-incubator-SNAPSHOT.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.apache.felix.shell\1.0.0\org.apache.felix.shell-1.0.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\felix\org.apache.felix.webconsole\1.2.0\org.apache.felix.webconsole-1.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\jmock\jmock-junit4\2.2.0\jmock-junit4-2.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\jmock\jmock\2.2.0\jmock-2.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\hamcrest\hamcrest-core\1.1\hamcrest-core-1.1.jar;C:\Documents and Settings\darrell\.m2\repository\org\hamcrest\hamcrest-library\1.1\hamcrest-library-1.1.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-core\1.4.3\jackrabbit-core-1.4.3.jar;C:\Documents and Settings\darrell\.m2\repository\concurrent\concurrent\1.3.4\concurrent-1.3.4.jar;C:\Documents and Settings\darrell\.m2\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-api\1.4\jackrabbit-api-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-jcr-commons\1.4.2\jackrabbit-jcr-commons-1.4.2.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-spi-commons\1.4\jackrabbit-spi-commons-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-spi\1.4\jackrabbit-spi-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\jackrabbit\jackrabbit-text-extractors\1.4\jackrabbit-text-extractors-1.4.jar;C:\Documents and Settings\darrell\.m2\repository\poi\poi\2.5.1-final-20040804\poi-2.5.1-final-20040804.jar;C:\Documents and Settings\darrell\.m2\repository\pdfbox\pdfbox\0.6.4\pdfbox-0.6.4.jar;C:\Documents and Settings\darrell\.m2\repository\org\textmining\tm-extractors\0.4\tm-extractors-0.4.jar;C:\Documents and Settings\darrell\.m2\repository\nekohtml\nekohtml\1.9.6.2\nekohtml-1.9.6.2.jar;C:\Documents and Settings\darrell\.m2\repository\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.jar;C:\Documents and Settings\darrell\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\lucene\lucene-core\2.2.0\lucene-core-2.2.0.jar;C:\Documents and Settings\darrell\.m2\repository\org\apache\derby\derby\10.2.1.6\derby-10.2.1.6.jar;"/>
    <property name="java.io.tmpdir" value="C:\DOCUME~1\darrell\LOCALS~1\Temp\"/>
    <property name="env.PROCESSOR_REVISION" value="0d08"/>
    <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
    <property name="env.MAVEN_OPTS" value="-Xms256m -Xmx512m"/>
    <property name="env.SystemRoot" value="C:\WINDOWS"/>
    <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
    <property name="os.arch" value="x86"/>
    <property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
    <property name="env.PERL5LIB" value="C:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;C:\oracle\product\10.2.0\db_2\perl\5.8.3\lib;C:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;C:\oracle\product\10.2.0\db_2\perl\site\5.8.3;C:\oracle\product\10.2.0\db_2\perl\site\5.8.3\lib;C:\oracle\product\10.2.0\db_2\sysman\admin\scripts;"/>
    <property name="user.dir" value="C:\MyPrograms\sling\extensions\jcrinstall"/>
    <property name="line.separator" value="
"/>
    <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/>
    <property name="env.CLASSWORLDS_JAR" value="&quot;C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\boot\classworlds-1.1.jar&quot;"/>
    <property name="env.PATHEXT" value=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW"/>
    <property name="env.Path" value="C:\Program Files\Java\jdk1.5.0_11\bin;C:\Program Files\Java\jdk1.5.0_11\jre\bin;C:\MyPrograms\RubyAll\Ruby 1.8.5\ruby\bin;C:\MyPrograms\RubyAll\Ruby 1.8\ruby\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\product\10.2.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\MyPrograms\grails-0.4\bin;C:\Program Files\doxygen\bin;C:\MyPrograms\merak\php;C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin;C:\Program Files\TortoiseSVN\bin"/>
    <property name="basedir" value="C:\MyPrograms\sling\extensions\jcrinstall"/>
    <property name="env.ERROR_CODE" value="0"/>
    <property name="env.M2" value="C:\MyPrograms\Apache Software Foundation\apache-maven-2.0.9\bin"/>
    <property name="env.USERNAME" value="darrell"/>
    <property name="env.SystemDrive" value="C:"/>
    <property name="file.encoding" value="Cp1252"/>
    <property name="env.GRAILS_HOME" value="C:\MyPrograms\grails-0.4"/>
    <property name="env.USERDOMAIN" value="DELL_LAPTOP"/>
    <property name="java.specification.version" value="1.6"/>
    <property name="env.SonicCentral" value="C:\Program Files\Common Files\Sonic Shared\Sonic Central\"/>
    <property name="env.PROCESSOR_LEVEL" value="6"/>
  </properties>
  <testcase time="23.578" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testSingleResourceDetection">
    <error message="not all expectations were satisfied" type="not all expectations were satisfied
expectations">not all expectations were satisfied
expectations:
  allowed, already invoked 3 times: osgiController.executeScheduledOperations(); returns a default value
  allowed, already invoked 1 time: osgiController.setResourceOverrideRules(ANYTHING); returns a default value
  allowed, already invoked 4 times: osgiController.getInstalledUris(); returns &lt;[/libs/foo/bar/install/dummy.jar]&gt;
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;phase1&quot;); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;/libs/foo/bar/install/dummy.jar&quot;); in sequence ResourceDetectionTest; returns null
  expected exactly 1 time, already invoked 1 time: osgiController.scheduleInstallOrUpdate(&quot;/libs/foo/bar/install/dummy.jar&quot;, ANYTHING); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;phase2&quot;); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;/libs/foo/bar/install/dummy.jar&quot;); in sequence ResourceDetectionTest; returns &quot;1228057080360&quot;
  expected exactly 1 time, already invoked 1 time: osgiController.getDigest(&quot;phase3&quot;); in sequence ResourceDetectionTest; returns a default value
  expected exactly 1 time, never invoked: osgiController.getDigest(&quot;/libs/foo/bar/install/dummy.jar&quot;); in sequence ResourceDetectionTest; returns &quot;1228057080360&quot;
  expected exactly 1 time, never invoked: osgiController.scheduleInstallOrUpdate(&quot;/libs/foo/bar/install/dummy.jar&quot;, ANYTHING); in sequence ResourceDetectionTest; returns a default value
	at org.jmock.Mockery.assertIsSatisfied(Mockery.java:180)
	at org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.testSingleResourceDetection(ResourceDetectionTest.java:153)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
</error>
    <system-err>813 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Starting repository...
860 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\repository
1141 [main] INFO org.apache.jackrabbit.core.nodetype.NodeTypeRegistry - no custom node type definitions found
1157 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\version
11750 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Database: Apache Derby / 10.2.1.6 - (452058)
11750 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
13922 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\version\blobs
14063 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - initializing workspace &apos;default&apos;...
14063 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\workspaces\default
20375 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Database: Apache Derby / 10.2.1.6 - (452058)
20375 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
21547 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\workspaces\default\blobs
21766 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace &apos;default&apos; initialized
22016 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\repository\index
23250 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index initialized: target/repository/repository/index Version: 2
23266 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target\repository\workspaces\default\index
23266 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index initialized: target\repository\workspaces\default/index Version: 2
23266 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository started
23579 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.MockRepositoryObserver - Using default folder name regexp &apos;.*/install$&apos;
23579 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Watching folder /libs/foo/bar/install
23579 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Watching folder /libs/foo/wii/install
23594 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Watching folder /apps/install
23735 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Resource /libs/foo/bar/install/dummy.jar was not installed yet, installing in OsgiController
23766 [main] INFO org.apache.sling.jcr.jcrinstall.jcr.impl.WatchedFolder - Resource /libs/foo/bar/install/dummy.jar not modified, ignoring
</system-err>
  </testcase>
  <testcase time="0.375" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testMultipleResourceDetection"/>
  <testcase time="0.937" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testIgnoredFilenames"/>
  <testcase time="1.156" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testInitialDeletions"/>
  <testcase time="0.219" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testInitialDeletionsWithException"/>
  <testcase time="0.328" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testMultipleResourcesWithException"/>
  <testcase time="0.985" classname="org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest" name="testFolderRegexpChange"/>
</testsuite>



> Build Failure on Windows XP
> ---------------------------
>
>                 Key: SLING-744
>                 URL: https://issues.apache.org/jira/browse/SLING-744
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>         Environment: Windows XP, java 1.6.0_03
>            Reporter: Darrell Pittman
>
> I did the following:
> svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
> cd sling
> mvn -s settings.xml clean install. 
> Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.
> I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test reports.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-744) Build Failure on Windows XP

Posted by "Darrell Pittman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darrell Pittman updated SLING-744:
----------------------------------

    Description: 
I did the following:

svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
cd sling
mvn -s settings.xml clean install. 

Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.

I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test report.

  was:
I did the following:

svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
cd sling
mvn -s settings.xml clean install. 

Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.

I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test reports.


> Build Failure on Windows XP
> ---------------------------
>
>                 Key: SLING-744
>                 URL: https://issues.apache.org/jira/browse/SLING-744
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>         Environment: Windows XP, java 1.6.0_03
>            Reporter: Darrell Pittman
>         Attachments: TEST-org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.xml
>
>
> I did the following:
> svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
> cd sling
> mvn -s settings.xml clean install. 
> Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.
> I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test report.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-744) jcrinstall tests fail on Windows XP

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-744:
--------------------------------------

    Summary: jcrinstall tests fail on Windows XP  (was: Build Failure on Windows XP)

Confirmed, I also got test errors in the jcrinstall module when trying to build under Windows XP (mvn 2.09, java 1.6.0_06).

As a workaround until this is fixed, if you don't need jcrinstall you can disable its build by commenting it in the main sling pom.xml file:

...
        <module>extensions/apt/parser</module>
        <module>extensions/apt/servlet</module>
<!--
        <module>extensions/jcrinstall</module>
-->
        <module>extensions/runmode</module>
...

> jcrinstall tests fail on Windows XP
> -----------------------------------
>
>                 Key: SLING-744
>                 URL: https://issues.apache.org/jira/browse/SLING-744
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>         Environment: Windows XP, java 1.6.0_03
>            Reporter: Darrell Pittman
>         Attachments: TEST-org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.xml
>
>
> I did the following:
> svn checkout http://svn.apache.org/repos/asf/incubator/sling/trunk sling
> cd sling
> mvn -s settings.xml clean install. 
> Note: I don't know the XP equivalent of /dev/null so I created a settings.xml file in sling folder with just an empty <settings/> tag to override local settings.
> I got a build failure on org.apache.sling.jcr.jcrinstall.jcr.impl.ResourceDetectionTest.  I have attached the test report.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.