Hi
I had a problem with the migration (also osx 10.4.7) and had to
change to java 1.4 to make it work (set JAVA_HOME to 1.4 in .profile).
HTH,
Jürgen
Am Sep 13, 2006 um 19:32 schrieb Carlos Palol:
hi, i just did:
./build.sh
./build.sh --noconfig module.test -
Dmodule=org.apache.lenya.modules.migration
and failed in the migration part:
....
test-module-org.apache.lenya.modules.migration:
Created dir: /lenya-1.4.x/build/lenya/modules/
org.apache.lenya.modules.migration/java/test
Compiling 1 source file to
/lenya-1.4.x/build/lenya/modules/org.apache.lenya.modules.migration/
java/test
Note: /lenya-1.4.x/src/modules/migration/java/test/org/apache/lenya/
cms/migration/MigrateUuidsTest.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 1 file to
/lenya-1.4.x/build/lenya/modules/org.apache.lenya.modules.migration/
java/test
Running org.apache.lenya.cms.migration.MigrateUuidsTest
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set
and the node contains links. Returning path [/index] as UUID.
[WARNING] Node equals OwnerDocument: default:archive:
[WARNING] Node equals OwnerDocument: default:authoring:
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set
and the node contains links. Returning path [/index] as UUID.
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.49 sec
Testsuite: org.apache.lenya.cms.migration.MigrateUuidsTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.49 sec
------------- Standard Output ---------------
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set
and the node contains links. Returning path [/index] as UUID.
[WARNING] Node equals OwnerDocument: default:archive:
[WARNING] Node equals OwnerDocument: default:authoring:
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set
and the node contains links. Returning path [/index] as UUID.
------------- ---------------- ---------------
Testcase: testMigrateUuids took 4.443 sec
Caused an ERROR
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/content/
rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
org.apache.lenya.cms.repository.RepositoryException:
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/content/
rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
at org.apache.lenya.cms.repository.SourceNode.isCheckedOut
(SourceNode.java:171)
at org.apache.lenya.cms.repository.SourceNode.lock
(SourceNode.java:400)
at
org.apache.lenya.cms.migration.MigrateUuidsTest.migrateDocument
(MigrateUuidsTest.java:136)
at
org.apache.lenya.cms.migration.MigrateUuidsTest.migrateArea
(MigrateUuidsTest.java:93)
at
org.apache.lenya.cms.migration.MigrateUuidsTest.migratePublication
(MigrateUuidsTest.java:73)
at
org.apache.lenya.cms.migration.MigrateUuidsTest.testMigrateUuids
(MigrateUuidsTest.java:61)
Caused by: javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/content/
rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultConte
ntHandler(TransformerIdentityImpl.java:263)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform
(TransformerIdentityImpl.java:296)
at org.apache.lenya.xml.DocumentHelper.writeDocument
(DocumentHelper.java:198)
at org.apache.lenya.cms.rc.RCML.write(RCML.java:154)
at org.apache.lenya.cms.rc.RCML.<init>(RCML.java:113)
at org.apache.lenya.cms.rc.RevisionController.isCheckedOut
(RevisionController.java:170)
at org.apache.lenya.cms.repository.SourceNode.isCheckedOut
(SourceNode.java:169)
... 42 more
Caused by: java.io.FileNotFoundException:
file:/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/content/
rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultConte
ntHandler(TransformerIdentityImpl.java:253)
... 48 more
BUILD FAILED
/lenya-1.4.x/src/targets/modules-build.xml:105: The following error
occurred while executing this line:
/lenya-1.4.x/build/lenya/temp/modules-build.xml:1248: Test
org.apache.lenya.cms.migration.MigrateUuidsTest failed
--
Carlos Palol
lenya 1.4.x
os x 1.4.7
tomcat 5.5.17
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]