You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Carlos Palol <ca...@gmail.com> on 2006/09/13 19:32:14 UTC
couldn't build with migration module. lenya 1.4.x from svn revision 442955
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.createResultContentHandler(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.createResultContentHandler(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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: couldn't build with migration module. lenya 1.4.x from svn revision 442955
Posted by Carlos Palol <ca...@gmail.com>.
Hi!
It's strange, it worked for me with java 1.5 since now.
Bugzilla 32923 says lenya 1.4 works with java 1.5.
I think it might be a small bug
--
Carlos Palol
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: couldn't build with migration module. lenya 1.4.x from svn revision 442955
Posted by Jürgen Ragaller <ra...@null-oder-eins.ch>.
Hi
I checked again today doing the migration under java 1.5 (osx) and
the error output is identical to yours.
The migration under java 1.4 works.
Switch to Java 1.4:
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/
1.4/Home
in .profile
What about replacing the default publication with an uuid version in
the trunk?
Jürgen
Am 13.09.2006 um 22:44 schrieb Jürgen Ragaller:
> 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.createResultCont
>> entHandler(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.createResultCont
>> entHandler(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: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: couldn't build with migration module. lenya 1.4.x from svn revision 442955
Posted by Jürgen Ragaller <ra...@null-oder-eins.ch>.
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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org