Re: Problem building jahia from source

dime Filipov <[email protected]> Wed, 19 Dec 2007 06:08:29 -0800 (PST)
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
So sakas da kazis deka a izbilda? :)
--- Vasko Gjurovski <[email protected]> wrote:

> Thanks for the hint.. should have thought of that..
> :) That solved my
> problem...
> 
> On Dec 18, 2007 4:46 PM, Serge Huber
> <[email protected]> wrote:
> 
> >
> > Hi Vasko,
> >
> > Are you using JDK 6 ? It doesn't currently work
> for compiling Jahia. You
> > must use JDK 5.
> >
> > We are working on Maven 2 integration that will
> solve this issue.
> >
> > Regards,
> >  Serge Huber.
> >
> > Vasko Gjurovski a écrit :
> > > Hi all,
> > >
> > > During build with maven i had the folowing
> problem:
> > >
> > > >> Unable to obtain goal [allBuild]
> > > >> Error parsing project.xml
> > >
> 'D:\NetBeansWorkspace\jahia\jahia\core\project.xml'
> > > >> ParseError at [row,col]:[1121,34]
> > > Message: The entity "jetspeed-version" was
> referenced, but not declared.
> > >
> > > then I realized that the problem was with
> finding the entity
> > > "jetspeed-version" defined in the project.xml,
> or to be more precise
> > > the locator.ent file was not been loaded (I do
> not know the reason for
> > > that). After copying all the entities from the
> locator.ent file into
> > > the project.xml file the entity was found, but
> there was a new
> > > problem, this time with the name of the jas
> dependencies from
> > > jetspeed. The artefacts were getting names like
> > >
>
org.apache.portals.jetspeed-2:jetspeed-sso:2.1-dev2.1-dev:jar
> (NOTICE
> > > THE VERSION PARAMETER). And of course, the jars
> were not found on the
> > > repository servers. The I manualy set-ed the
> version of the jetspeed
> > > libs to 2.1-dev and the download was successful.
> > >
> > > But then I got the folowing error:
> > >
> > > Errors stack :
> > > >> Unable to obtain goal [allBuild]
> > > >> File......
> file:/D:/NetBeansWorkspace/jahia/jahia/maven.xml
> > > >> Element... maven:reactor
> > > >> Line...... 23
> > > >> Column.... 40
> > > >> Unable to obtain goal [jahia:war]
> > > >> File...... file:/C:/Documents and
> > >
>
Settings/user1/.maven/cache/maven-java-plugin-1.6.1/plugin.jelly
> > > >> Element... ant:javac
> > > >> Line...... 94
> > > >> Column.... 48
> > > >> Compile failed; see the compiler error output
> for details.
> > >
> > > Exception stack traces :
> > >
> org.apache.maven.werkz.UnattainableGoalException:
> Unable to obtain
> > > goal [allBuild]
> > >         at
> org.apache.maven.werkz.Goal.fire(Goal.java:698)
> > >         at
> org.apache.maven.werkz.Goal.attain(Goal.java:623)
> > >         at
> > >
>
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> > :712)
> > >         at
> > >
>
org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> > >         at
> org.apache.maven.cli.App.doMain(App.java:307)
> > >         at
> org.apache.maven.cli.App.main(App.java:217)
> > >         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
> com.werken.forehead.Forehead.run(Forehead.java:551)
> > >         at
> com.werken.forehead.Forehead.main(Forehead.java:581)
> > > Caused by:
> org.apache.commons.jelly.JellyTagException :
> > >
>
file:/D:/NetBeansWorkspace/jahia/jahia/maven.xml:23:40:
> <maven:re
> > > actor> Reactor subproject failure occurred
> > >         at
> > >
>
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:380)
> > >         at
> org.apache.commons.jelly.impl.TagScript.run
> > > (TagScript.java:250)
> > >         at
> > >
>
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> > >         at
> > >
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> > MavenGoalTag.java:83)
> > >         at
> > >
> >
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> > > (MavenGoalTag.java:116)
> > >         at
> org.apache.maven.werkz.Goal.fire(Goal.java:691)
> > >         ... 11 more
> > > Caused by:
> org.apache.maven.werkz.UnattainableGoalException:
> Unable to
> > > obtain goal [jahia:war]
> > >         at
> org.apache.maven.werkz.Goal.fire(Goal.java:698)
> > >         at
> org.apache.maven.werkz.Goal.attain(Goal.java:623)
> > >         at
> > >
>
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> > :712)
> > >         at
> org.apache.maven.MavenSession.attainGoals
> > > (MavenSession.java:265)
> > >         at
> > >
>
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:370)
> > >         ... 16 more
> > > Caused by:
> org.apache.commons.jelly.JellyTagException:
> > > file:/C:/Documents and
> Settings/user1/.maven/cache/maven-java-plu
> > > gin-1.6.1/plugin.jelly:94:48: <ant:javac>
> Compile failed; see the
> > > compiler error output for details.
> > >         at
> > >
>
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java
> > :681)
> > >         at
> org.apache.commons.jelly.impl.TagScript.run
> > > (TagScript.java:262)
> > >         at
> > >
>
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> > >         at
> > >
>
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> > >         at
> org.apache.commons.jelly.tags.core.WhenTag.doTag
> > > (WhenTag.java:46)
> > >         at
>
org.apache.commons.jelly.impl.TagScript.run(TagScript.java
> > :250)
> > >         at
> > >
>
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> > >         at
> org.apache.commons.jelly.TagSupport.invokeBody
> > > (TagSupport.java:186)
> > >         at
> > >
>
org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
> > >         at
>
org.apache.commons.jelly.impl.TagScript.run(TagScript.java
> > :250)
> > >         at
> org.apache.commons.jelly.impl.ScriptBlock.run
> > > (ScriptBlock.java:95)
> > >         at
> > >
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> > MavenGoalTag.java:83)
> 
=== message truncated ===>
_______________________________________________
> dev_list mailing list
> [email protected]
>
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list