Error when building Sling

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when building Sling

paksegu
  Can you please help?   Thanks
   
   at org.mozilla.javascript.Context.newObject(Context.java:1511)
        at org.apache.sling.scripting.javascript.helper.SlingWrapFactory.wrapAsJ
avaObject(SlingWrapFactory.java:61)
        at org.mozilla.javascript.WrapFactory.wrap(WrapFactory.java:105)
        at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:924)
          at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:872)
          at org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap.get(S
criptableItemMap.java:94)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.
java:1544)
        at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java
:1344)
        at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java
:1326)
        at org.mozilla.javascript.gen.c24._c0(NO_SCRIPT_NAME:5)
        at org.mozilla.javascript.gen.c24.call(NO_SCRIPT_NAME)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
93)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:283
4)
        at org.mozilla.javascript.gen.c24.call(NO_SCRIPT_NAME)
        at org.mozilla.javascript.gen.c24.exec(NO_SCRIPT_NAME)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:1227)
        at org.apache.sling.scripting.javascript.RhinoJavaScriptEngine.eval(Rhin
oJavaScriptEngine.java:94)
        at org.apache.sling.scripting.api.AbstractSlingScriptEngine.eval(Abstrac
tSlingScriptEngine.java:44)
        at org.apache.sling.scripting.ScriptEngineHelper.eval(ScriptEngineHelper
.java:84)
        at org.apache.sling.scripting.ScriptEngineHelper.evalToString(ScriptEngi
neHelper.java:64)
        at org.apache.sling.scripting.wrapper.ScriptableNodeTest.testGetNodesWit
hPattern(ScriptableNodeTest.java:167)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.executeTes
tSet(AbstractDirectoryTestSuite.java:140)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:338)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:997)
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.13 sec
Running org.apache.sling.scripting.javascript.io.EspReaderTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
  Results :
  Tests run: 38, Failures: 0, Errors: 0, Skipped: 0
  37961 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - Shutting down
repository...
37974 [IndexMerger] INFO org.apache.jackrabbit.core.query.lucene.IndexMerger - I
ndexMerger terminated
38469 [Thread-5] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Inde
x closed: target/repository/repository/index
38472 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - shutting down
workspace 'default'...
38483 [Thread-5] INFO org.apache.jackrabbit.core.observation.ObservationDispatch
er - Notification of EventListeners stopped.
38487 [IndexMerger] INFO org.apache.jackrabbit.core.query.lucene.IndexMerger - I
ndexMerger terminated
38495 [Thread-5] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Inde
x closed: target\repository\workspaces\default/index
40987 [Thread-5] INFO org.apache.jackrabbit.core.persistence.db.DerbyPersistence
Manager - Database 'target\repository\workspaces\default/db' shutdown.
41000 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace 'def
ault' has been shutdown
42505 [Thread-5] INFO org.apache.jackrabbit.core.persistence.db.DerbyPersistence
Manager - Database 'target/repository/version/db' shutdown.
42512 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository has
 been shutdown
[INFO] [bundle:bundle]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: D:\box\sling\scripting\javascript\target\org.apache.sling.s
cripting.javascript-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing D:\box\sling\scripting\javascript\target\org.apache.sling.scri
pting.javascript-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\
org\apache\sling\org.apache.sling.scripting.javascript\2.0.0-incubator-SNAPSHOT\
org.apache.sling.scripting.javascript-2.0.0-incubator-SNAPSHOT.jar
[INFO] Installing D:\box\sling\scripting\javascript\target\org.apache.sling.scri
pting.javascript-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\rep
ository\org\apache\sling\org.apache.sling.scripting.javascript\2.0.0-incubator-S
NAPSHOT\org.apache.sling.scripting.javascript-2.0.0-incubator-SNAPSHOT-sources.j
ar
[INFO] [bundle:install]
[INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.scripting.javascript/2.0.0-i
ncubator-SNAPSHOT/org.apache.sling.scripting.javascript-2.0.0-incubator-SNAPSHOT
.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building Sling - Scripting - Ruby Support
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\box\sling\scripting\ruby\target
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to D:\box\sling\scripting\ruby\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: D:\box\sling\scripting\ruby\target\org.apache.sling.scripti
ng.ruby-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing D:\box\sling\scripting\ruby\target\org.apache.sling.scripting.
ruby-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\org\apache\s
ling\org.apache.sling.scripting.ruby\2.0.0-incubator-SNAPSHOT\org.apache.sling.s
cripting.ruby-2.0.0-incubator-SNAPSHOT.jar
[INFO] Installing D:\box\sling\scripting\ruby\target\org.apache.sling.scripting.
ruby-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\repository\org\
apache\sling\org.apache.sling.scripting.ruby\2.0.0-incubator-SNAPSHOT\org.apache
.sling.scripting.ruby-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [bundle:install]
[INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.scripting.ruby/2.0.0-incubat
or-SNAPSHOT/org.apache.sling.scripting.ruby-2.0.0-incubator-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building Sling - Scripting - Velocity Support
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\box\sling\scripting\velocity\target
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to D:\box\sling\scripting\velocity\target\classe
s
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: D:\box\sling\scripting\velocity\target\org.apache.sling.scr
ipting.velocity-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing D:\box\sling\scripting\velocity\target\org.apache.sling.script
ing.velocity-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\org\
apache\sling\org.apache.sling.scripting.velocity\2.0.0-incubator-SNAPSHOT\org.ap
ache.sling.scripting.velocity-2.0.0-incubator-SNAPSHOT.jar
[INFO] Installing D:\box\sling\scripting\velocity\target\org.apache.sling.script
ing.velocity-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\reposit
ory\org\apache\sling\org.apache.sling.scripting.velocity\2.0.0-incubator-SNAPSHO
T\org.apache.sling.scripting.velocity-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [bundle:install]
[INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.scripting.velocity/2.0.0-inc
ubator-SNAPSHOT/org.apache.sling.scripting.velocity-2.0.0-incubator-SNAPSHOT.jar
  [INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building Sling Launchpad Content
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\box\sling\launchpad\content\target
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[WARNING] Warning building bundle org.apache.sling:org.apache.sling.launchpad.co
ntent:bundle:2.0.0-incubator-SNAPSHOT : Neither Export-Package nor Private-Packa
ge is set, therefore no packages will be included
[WARNING] Warning building bundle org.apache.sling:org.apache.sling.launchpad.co
ntent:bundle:2.0.0-incubator-SNAPSHOT : Did not find matching referal for *
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: D:\box\sling\launchpad\content\target\org.apache.sling.laun
chpad.content-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing D:\box\sling\launchpad\content\target\org.apache.sling.launchp
ad.content-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\org\ap
ache\sling\org.apache.sling.launchpad.content\2.0.0-incubator-SNAPSHOT\org.apach
e.sling.launchpad.content-2.0.0-incubator-SNAPSHOT.jar
[INFO] Installing D:\box\sling\launchpad\content\target\org.apache.sling.launchp
ad.content-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\repositor
y\org\apache\sling\org.apache.sling.launchpad.content\2.0.0-incubator-SNAPSHOT\o
rg.apache.sling.launchpad.content-2.0.0-incubator-SNAPSHOT-sources.jar
[INFO] [bundle:install]
[INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.launchpad.content/2.0.0-incu
bator-SNAPSHOT/org.apache.sling.launchpad.content-2.0.0-incubator-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building Sling - APT parser
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\box\sling\extensions\apt\parser\target
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to D:\box\sling\extensions\apt\parser\target\cla
sses
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Generating 2 MetaType Descriptors to D:\box\sling\extensions\apt\parser\t
arget\scr-plugin-generated\OSGI-INF\metatype\metatype.xml
[INFO] Writing abstract service descriptor D:\box\sling\extensions\apt\parser\ta
rget\scr-plugin-generated\OSGI-INF\scr-plugin\scrinfo.xml with 1 entries.
[INFO] Generating 1 Service Component Descriptors to D:\box\sling\extensions\apt
\parser\target\scr-plugin-generated\OSGI-INF\serviceComponents.xml
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to D:\box\sling\extensions\apt\parser\target\test
-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\box\sling\extensions\apt\parser\target\sure
fire-reports
  -------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.apt.parser.internal.SlingAptParserImplTest
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.326 sec <<< F
AILURE!
  Results :
  Failed tests:
  testTitle(org.apache.sling.apt.parser.internal.SlingAptParserImplTest)
  Tests run: 12, Failures: 1, Errors: 0, Skipped: 0
  [INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
  Please refer to D:\box\sling\extensions\apt\parser\target\surefire-reports for t
he individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 55 seconds
[INFO] Finished at: Tue Mar 25 00:11:57 EDT 2008
[INFO] Final Memory: 35M/63M
[INFO] ------------------------------------------------------------------------
  D:\box\sling>


Ransford Segu-Baffoe

[hidden email]

https://serenade.dev.java.net/
http://www.noqturnalmediasystems.com/
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
Reply | Threaded
Open this post in threaded view
|

Re: Error when building Sling

Bertrand Delacretaz
Hi,

On Tue, Mar 25, 2008 at 5:18 AM, paksegu <[hidden email]> wrote:
>  ... Can you please help?   Thanks...

Full build (mvn clean install) works for me with svn revision 640737.

> ...  testTitle(org.apache.sling.apt.parser.internal.SlingAptParserImplTest)...
> ...  Please refer to D:\box\sling\extensions\apt\parser\target\surefire-reports for t
>  he individual test results....

Could you look at the
org.apache.sling.apt.parser.internal.SlingAptParserImplTest.txt file
in that directory? It will tell you why exactly the test fails.

-Bertrand

Reply | Threaded
Open this post in threaded view
|

Re: Error when building Sling

Felix Meschberger-2
In reply to this post by paksegu
Hi Ransford,

There were yet other EOL issues when compiling on Windows. I fixed these
in Rev. 641015. So the APT Parser should now compile and test again.

Regards
Felix


Am Montag, den 24.03.2008, 21:18 -0700 schrieb paksegu:

> Can you please help?   Thanks
>    
>    at org.mozilla.javascript.Context.newObject(Context.java:1511)
>         at org.apache.sling.scripting.javascript.helper.SlingWrapFactory.wrapAsJ
> avaObject(SlingWrapFactory.java:61)
>         at org.mozilla.javascript.WrapFactory.wrap(WrapFactory.java:105)
>         at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:924)
>           at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:872)
>           at org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap.get(S
> criptableItemMap.java:94)
>         at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.
> java:1544)
>         at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java
> :1344)
>         at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java
> :1326)
>         at org.mozilla.javascript.gen.c24._c0(NO_SCRIPT_NAME:5)
>         at org.mozilla.javascript.gen.c24.call(NO_SCRIPT_NAME)
>         at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
> 93)
>         at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:283
> 4)
>         at org.mozilla.javascript.gen.c24.call(NO_SCRIPT_NAME)
>         at org.mozilla.javascript.gen.c24.exec(NO_SCRIPT_NAME)
>         at org.mozilla.javascript.Context.evaluateReader(Context.java:1227)
>         at org.apache.sling.scripting.javascript.RhinoJavaScriptEngine.eval(Rhin
> oJavaScriptEngine.java:94)
>         at org.apache.sling.scripting.api.AbstractSlingScriptEngine.eval(Abstrac
> tSlingScriptEngine.java:44)
>         at org.apache.sling.scripting.ScriptEngineHelper.eval(ScriptEngineHelper
> .java:84)
>         at org.apache.sling.scripting.ScriptEngineHelper.evalToString(ScriptEngi
> neHelper.java:64)
>         at org.apache.sling.scripting.wrapper.ScriptableNodeTest.testGetNodesWit
> hPattern(ScriptableNodeTest.java:167)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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.executeTes
> tSet(AbstractDirectoryTestSuite.java:140)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:338)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:997)
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.13 sec
> Running org.apache.sling.scripting.javascript.io.EspReaderTest
> Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
>   Results :
>   Tests run: 38, Failures: 0, Errors: 0, Skipped: 0
>   37961 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - Shutting down
> repository...
> 37974 [IndexMerger] INFO org.apache.jackrabbit.core.query.lucene.IndexMerger - I
> ndexMerger terminated
> 38469 [Thread-5] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Inde
> x closed: target/repository/repository/index
> 38472 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - shutting down
> workspace 'default'...
> 38483 [Thread-5] INFO org.apache.jackrabbit.core.observation.ObservationDispatch
> er - Notification of EventListeners stopped.
> 38487 [IndexMerger] INFO org.apache.jackrabbit.core.query.lucene.IndexMerger - I
> ndexMerger terminated
> 38495 [Thread-5] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Inde
> x closed: target\repository\workspaces\default/index
> 40987 [Thread-5] INFO org.apache.jackrabbit.core.persistence.db.DerbyPersistence
> Manager - Database 'target\repository\workspaces\default/db' shutdown.
> 41000 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace 'def
> ault' has been shutdown
> 42505 [Thread-5] INFO org.apache.jackrabbit.core.persistence.db.DerbyPersistence
> Manager - Database 'target/repository/version/db' shutdown.
> 42512 [Thread-5] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository has
>  been shutdown
> [INFO] [bundle:bundle]
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: D:\box\sling\scripting\javascript\target\org.apache.sling.s
> cripting.javascript-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [install:install]
> [INFO] Installing D:\box\sling\scripting\javascript\target\org.apache.sling.scri
> pting.javascript-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\
> org\apache\sling\org.apache.sling.scripting.javascript\2.0.0-incubator-SNAPSHOT\
> org.apache.sling.scripting.javascript-2.0.0-incubator-SNAPSHOT.jar
> [INFO] Installing D:\box\sling\scripting\javascript\target\org.apache.sling.scri
> pting.javascript-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\rep
> ository\org\apache\sling\org.apache.sling.scripting.javascript\2.0.0-incubator-S
> NAPSHOT\org.apache.sling.scripting.javascript-2.0.0-incubator-SNAPSHOT-sources.j
> ar
> [INFO] [bundle:install]
> [INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
> [INFO] Installing org/apache/sling/org.apache.sling.scripting.javascript/2.0.0-i
> ncubator-SNAPSHOT/org.apache.sling.scripting.javascript-2.0.0-incubator-SNAPSHOT
> .jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sling - Scripting - Ruby Support
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\box\sling\scripting\ruby\target
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 2 source files to D:\box\sling\scripting\ruby\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [bundle:bundle]
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: D:\box\sling\scripting\ruby\target\org.apache.sling.scripti
> ng.ruby-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [install:install]
> [INFO] Installing D:\box\sling\scripting\ruby\target\org.apache.sling.scripting.
> ruby-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\org\apache\s
> ling\org.apache.sling.scripting.ruby\2.0.0-incubator-SNAPSHOT\org.apache.sling.s
> cripting.ruby-2.0.0-incubator-SNAPSHOT.jar
> [INFO] Installing D:\box\sling\scripting\ruby\target\org.apache.sling.scripting.
> ruby-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\repository\org\
> apache\sling\org.apache.sling.scripting.ruby\2.0.0-incubator-SNAPSHOT\org.apache
> .sling.scripting.ruby-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [bundle:install]
> [INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
> [INFO] Installing org/apache/sling/org.apache.sling.scripting.ruby/2.0.0-incubat
> or-SNAPSHOT/org.apache.sling.scripting.ruby-2.0.0-incubator-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sling - Scripting - Velocity Support
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\box\sling\scripting\velocity\target
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 2 source files to D:\box\sling\scripting\velocity\target\classe
> s
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [bundle:bundle]
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: D:\box\sling\scripting\velocity\target\org.apache.sling.scr
> ipting.velocity-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [install:install]
> [INFO] Installing D:\box\sling\scripting\velocity\target\org.apache.sling.script
> ing.velocity-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\org\
> apache\sling\org.apache.sling.scripting.velocity\2.0.0-incubator-SNAPSHOT\org.ap
> ache.sling.scripting.velocity-2.0.0-incubator-SNAPSHOT.jar
> [INFO] Installing D:\box\sling\scripting\velocity\target\org.apache.sling.script
> ing.velocity-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\reposit
> ory\org\apache\sling\org.apache.sling.scripting.velocity\2.0.0-incubator-SNAPSHO
> T\org.apache.sling.scripting.velocity-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [bundle:install]
> [INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
> [INFO] Installing org/apache/sling/org.apache.sling.scripting.velocity/2.0.0-inc
> ubator-SNAPSHOT/org.apache.sling.scripting.velocity-2.0.0-incubator-SNAPSHOT.jar
>   [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sling Launchpad Content
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\box\sling\launchpad\content\target
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [bundle:bundle]
> [WARNING] Warning building bundle org.apache.sling:org.apache.sling.launchpad.co
> ntent:bundle:2.0.0-incubator-SNAPSHOT : Neither Export-Package nor Private-Packa
> ge is set, therefore no packages will be included
> [WARNING] Warning building bundle org.apache.sling:org.apache.sling.launchpad.co
> ntent:bundle:2.0.0-incubator-SNAPSHOT : Did not find matching referal for *
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: D:\box\sling\launchpad\content\target\org.apache.sling.laun
> chpad.content-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [install:install]
> [INFO] Installing D:\box\sling\launchpad\content\target\org.apache.sling.launchp
> ad.content-2.0.0-incubator-SNAPSHOT.jar to C:\Users\PakDNA\.m2\repository\org\ap
> ache\sling\org.apache.sling.launchpad.content\2.0.0-incubator-SNAPSHOT\org.apach
> e.sling.launchpad.content-2.0.0-incubator-SNAPSHOT.jar
> [INFO] Installing D:\box\sling\launchpad\content\target\org.apache.sling.launchp
> ad.content-2.0.0-incubator-SNAPSHOT-sources.jar to C:\Users\PakDNA\.m2\repositor
> y\org\apache\sling\org.apache.sling.launchpad.content\2.0.0-incubator-SNAPSHOT\o
> rg.apache.sling.launchpad.content-2.0.0-incubator-SNAPSHOT-sources.jar
> [INFO] [bundle:install]
> [INFO] Parsing file:/C:/Users/PakDNA/.m2/repository/repository.xml
> [INFO] Installing org/apache/sling/org.apache.sling.launchpad.content/2.0.0-incu
> bator-SNAPSHOT/org.apache.sling.launchpad.content-2.0.0-incubator-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sling - APT parser
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\box\sling\extensions\apt\parser\target
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 7 source files to D:\box\sling\extensions\apt\parser\target\cla
> sses
> [INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
> [INFO] Generating 2 MetaType Descriptors to D:\box\sling\extensions\apt\parser\t
> arget\scr-plugin-generated\OSGI-INF\metatype\metatype.xml
> [INFO] Writing abstract service descriptor D:\box\sling\extensions\apt\parser\ta
> rget\scr-plugin-generated\OSGI-INF\scr-plugin\scrinfo.xml with 1 entries.
> [INFO] Generating 1 Service Component Descriptors to D:\box\sling\extensions\apt
> \parser\target\scr-plugin-generated\OSGI-INF\serviceComponents.xml
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to D:\box\sling\extensions\apt\parser\target\test
> -classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: D:\box\sling\extensions\apt\parser\target\sure
> fire-reports
>   -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.sling.apt.parser.internal.SlingAptParserImplTest
> Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.326 sec <<< F
> AILURE!
>   Results :
>   Failed tests:
>   testTitle(org.apache.sling.apt.parser.internal.SlingAptParserImplTest)
>   Tests run: 12, Failures: 1, Errors: 0, Skipped: 0
>   [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
>   Please refer to D:\box\sling\extensions\apt\parser\target\surefire-reports for t
> he individual test results.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11 minutes 55 seconds
> [INFO] Finished at: Tue Mar 25 00:11:57 EDT 2008
> [INFO] Final Memory: 35M/63M
> [INFO] ------------------------------------------------------------------------
>   D:\box\sling>
>
>
> Ransford Segu-Baffoe
>
> [hidden email]
>
> https://serenade.dev.java.net/
> http://www.noqturnalmediasystems.com/
>        
> ---------------------------------
> Looking for last minute shopping deals?  Find them fast with Yahoo! Search.


Reply | Threaded
Open this post in threaded view
|

Re: Error when building Sling

Bertrand Delacretaz
On Tue, Mar 25, 2008 at 10:36 PM, Felix Meschberger <[hidden email]> wrote:

> ... There were yet other EOL issues when compiling on Windows. I fixed these
>  in Rev. 641015. So the APT Parser should now compile and test again....

Oops, my bad, sorry about that.

-Bertrand (who should maybe hate Windows less, but that's hard ;-)

Reply | Threaded
Open this post in threaded view
|

Re: Error when building Sling

Felix Meschberger-2
Hi,

Am Dienstag, den 25.03.2008, 22:38 +0100 schrieb Bertrand Delacretaz:
> On Tue, Mar 25, 2008 at 10:36 PM, Felix Meschberger <[hidden email]> wrote:
>
> > ... There were yet other EOL issues when compiling on Windows. I fixed these
> >  in Rev. 641015. So the APT Parser should now compile and test again....
>
> Oops, my bad, sorry about that.

No problem, just fixed another one in the integration tests...

>
> -Bertrand (who should maybe hate Windows less, but that's hard ;-)

Felix (who has the same problems ;-) )


Reply | Threaded
Open this post in threaded view
|

Re: Error when building Sling

paksegu
It did build sucessfully...Thanks

Felix Meschberger <[hidden email]> wrote:  Hi,

Am Dienstag, den 25.03.2008, 22:38 +0100 schrieb Bertrand Delacretaz:
> On Tue, Mar 25, 2008 at 10:36 PM, Felix Meschberger wrote:
>
> > ... There were yet other EOL issues when compiling on Windows. I fixed these
> > in Rev. 641015. So the APT Parser should now compile and test again....
>
> Oops, my bad, sorry about that.

No problem, just fixed another one in the integration tests...

>
> -Bertrand (who should maybe hate Windows less, but that's hard ;-)

Felix (who has the same problems ;-) )




Ransford Segu-Baffoe

[hidden email]

https://serenade.dev.java.net/
http://www.noqturnalmediasystems.com/
       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.