Thanks for the tips, unfortunately it never worked. If you could just give me
one more, have a look at this trace (sorry i do not like pasting as it is
messy, but i have no option) and let me know whether to call it a day or if
there is hope. This is the output from my build.
F:\development\magnolia-trunk>mvn clean package -P webapp
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] magnolia-project
[INFO] magnolia-core
[INFO] magnolia-jaas
[INFO] magnolia-exchange-simple
[INFO] magnolia-gui
[INFO] magnolia-module-admininterface
[INFO] magnolia-module-mail
[INFO] magnolia-module-templating
[INFO] magnolia-module-workflow
[INFO] magnolia-module-cache
[INFO] magnolia-taglib-cms
[INFO] magnolia-taglib-utility
[INFO] magnolia-editor-fckeditor
[INFO] magnolia-editor-kupu
[INFO] magnolia-module-samples
[INFO] magnolia-module-dms
[INFO] magnolia
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building magnolia-project
[INFO] task-segment: [clean, package]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory F:\development\magnolia-trunk\target
[INFO] Deleting directory F:\development\magnolia-trunk\target\classes
[INFO] Deleting directory F:\development\magnolia-trunk\target\test-classes
[INFO] Deleting directory F:\development\magnolia-trunk\target\site
[INFO] [enforcer:enforce {execution: enforce}]
[INFO] [setproperty:set-property {execution: currentDate}]
[INFO] property magnolia.currentDate set to value 11. May 2007 (scope:
project)
[INFO] property magnolia.niceVersion set to value 3.1 (Snapshot: 11.05.2007
14:0
1:47) (scope: project)
[INFO] property magnolia.releaseDate set to value 11. May 2007 (scope:
project)
[INFO] [compiler:testCompile {execution: compile-tests}]
[INFO] No sources to compile
[INFO] [site:attach-descriptor]
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building magnolia-core
[INFO] task-segment: [clean, package]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory F:\development\magnolia-trunk\magnolia-core\target
[INFO] Deleting directory
F:\development\magnolia-trunk\magnolia-core\target\cla
sses
[INFO] Deleting directory
F:\development\magnolia-trunk\magnolia-core\target\tes
t-classes
[INFO] Deleting directory
F:\development\magnolia-trunk\magnolia-core\target\sit
e
[INFO] [enforcer:enforce {execution: enforce}]
[INFO] [setproperty:set-property {execution: currentDate}]
[INFO] property magnolia.currentDate set to value 11. May 2007 (scope:
project)
[INFO] property magnolia.niceVersion set to value 3.1 (Snapshot: 11.05.2007
14:0
1:52) (scope: project)
[INFO] property magnolia.releaseDate set to value 11. May 2007 (scope:
project)
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 250 source files to
F:\development\magnolia-trunk\magnolia-core
\target\classes
[INFO] [compiler:testCompile {execution: compile-tests}]
[INFO] Compiling 42 source files to
F:\development\magnolia-trunk\magnolia-core\
target\test-classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
F:\development\magnolia-trunk\magnolia-core\ta
rget\surefire-reports
The system cannot find the path specified.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running info.magnolia.content2bean.Content2BeanTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.367 sec
Running info.magnolia.cms.beans.config.ModuleRegistrationTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running info.magnolia.cms.core.ContentTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec
Running info.magnolia.cms.util.LinkUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running info.magnolia.cms.core.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running info.magnolia.cms.beans.config.ModuleRegistrationBetwixtTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.265 sec
Running info.magnolia.cms.beans.config.ParagraphManagerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.091 sec
Running info.magnolia.cms.core.ie.DataTransporterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
Running info.magnolia.test.mock.MockUtilTest
WARN info.magnolia.cms.beans.config.ContentRepository
ContentRepository.java(g
etRepositoryMapping:569) 11.05.2007 14:02:14 no mapping for the repository
[con
fig]
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running info.magnolia.cms.util.FactoryUtilTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running info.magnolia.freemarker.FreemarkerHelperTest
ERROR freemarker.runtime Log4JLoggerFactory.java(error:96) 11.05.2007
14:02:14
Expression contextPath is undefined on line 1, column 4 in pouet.
The problematic instruction:
----------
==> ${contextPath} [on line 1, column 2 in pouet]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression contextPath is
undefined o
n line 1, column 4 in pouet.
at
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.process(Environment.java:176)
at freemarker.template.Template.process(Template.java:232)
at
info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.jav
a:73)
at
info.magnolia.freemarker.FreemarkerHelperTest.testContextPathIsNotAdd
edWithNotWebContext(FreemarkerHelperTest.java:292)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.732 sec
Running info.magnolia.test.mock.MockObjectTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running info.magnolia.cms.filters.FilterTest
INFO info.magnolia.cms.filters.ContentTypeFilter
MagnoliaMainFilter.java(initF
ilters:166) 11.05.2007 14:02:15 Initializing filter [first]
INFO info.magnolia.cms.filters.ContentTypeFilter
MagnoliaMainFilter.java(initF
ilters:166) 11.05.2007 14:02:15 Initializing filter [second]
INFO info.magnolia.cms.filters.ContentTypeFilter
MagnoliaMainFilter.java(initF
ilters:166) 11.05.2007 14:02:15 Initializing filter [decorated]
INFO info.magnolia.cms.filters.ContentTypeFilter
MagnoliaMainFilter.java(initF
ilters:166) 11.05.2007 14:02:15 Initializing filter [first]
INFO info.magnolia.cms.filters.ContentTypeFilter
MagnoliaMainFilter.java(initF
ilters:166) 11.05.2007 14:02:15 Initializing filter [second]
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.95 sec
Running info.magnolia.cms.beans.config.BootstrapFilesComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running info.magnolia.context.WriterResponseWrapperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running info.magnolia.cms.servlets.PropertyInitializerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running info.magnolia.cms.beans.config.ParagraphRendererManagerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running info.magnolia.cms.module.ModuleDefinitionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running info.magnolia.cms.util.ClasspathResourcesUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running info.magnolia.cms.beans.config.ParagraphRenderingFacadeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.265 sec
Results :
Tests run: 97, Failures: 0, Errors: 0, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 33 seconds
[INFO] Finished at: Fri May 11 14:02:16 BST 2007
[INFO] Final Memory: 15M/33M
[INFO]
------------------------------------------------------------------------
Magnolia - User mailing list wrote:
>
> Am Freitag, 11. Mai 2007 schrieb dieter:
>> It does actually fail, but i cannot say for sure it is due to that.
>
> It is not, I can say for sure.
>
>> The
>> only other issue it throws up is it complains it cannot find the path to
>> the sure-fire reports, which is also bizzare as it exists.
>>
>> To be honest, this is so tough to build Magnolia, i don't really know
>> what
>> more to say..
>
> try "mvn clean package -P webapp", it builds fine here many times a day
>
> O.
>
>
>
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> ----------------------------------------------------------------
>
>
--
View this message in context:
http://www.nabble.com/Unable-to-build-magnolia-3.1-tf3726819.html#a10431594
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------