roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "muller" <n.mul...@nouvellemarque.com>
Subject RE: Building from source - 2.3
Date Tue, 07 Oct 2008 10:53:18 GMT
Just to understand : why are you using 2.3 instead of 3.x or 4.x ?
I can understand because at the moment I am using 3.1 : we had a lot of
developments into.

Try to run with command line under dos or shell. Do you modify any classes
or sources before to run ant ?


-----Message d'origine-----
De : djcredo@gmail.com [mailto:djcredo@gmail.com] De la part de Matt Morten
Envoyé : mardi 7 octobre 2008 12:45
À : user@roller.apache.org
Objet : Re: Building from source - 2.3

I have tried using both Sun JDK 1.5.0_09 and 1.4.2_10, both yield the same
results. I am using Eclipse to run the build script with target All.
Thanks
Matt

On Tue, Oct 7, 2008 at 11:20 AM, muller <n.muller@nouvellemarque.com> wrote:

> Hi,
>
>  Which version about JDK are you using ? I noticed that JDM IBM 5 (from
WAS
> 6.1.0.19) cannot generate sources with XDoclet for Roller 4.0.
> Do you use netbeans, Eclipse or CommandLine with ant ?
>
> Nicolas,
>
> -----Message d'origine-----
> De : djcredo@gmail.com [mailto:djcredo@gmail.com] De la part de Matt
> Morten
> Envoyé : mardi 7 octobre 2008 11:30
> À : user@roller.apache.org
> Objet : Re: Building from source - 2.3
>
> OK. The reason why I skipped this step was because I was getting the
> following error:
> [ejbdoclet] XDoclet classpath missing J2EE classes
> [ejbdoclet] at
> xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:86)
> [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:89)
> [ejbdoclet] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
> [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
> [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
> [ejbdoclet] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> [ejbdoclet] at
> org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> [ejbdoclet] at
>
>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
> ava:40)
> [ejbdoclet] at
>
>
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets
> (EclipseDefaultExecutor.java:32)
> [ejbdoclet] at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> [ejbdoclet] at
>
>
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
> er.java:423)
> [ejbdoclet] at
>
>
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
> ner.java:137)
> [ejbdoclet] Caused by: Make sure the jar file containing the
> javax.ejb.EntityBean class is on the classpath specified in the <taskdef>
> that defined ejbdoclet. These classes are needed in order to generate
> correct output.
> [ejbdoclet] at xdoclet.DocletTask.checkClass(DocletTask.java:513)
> [ejbdoclet] at
> xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:83)
> [ejbdoclet] ... 12 more
> [ejbdoclet] --- Nested Exception ---
> [ejbdoclet] Make sure the jar file containing the javax.ejb.EntityBean
> class
> is on the classpath specified in the <taskdef> that defined ejbdoclet.
> These
> classes are needed in order to generate correct output.
> [ejbdoclet] at xdoclet.DocletTask.checkClass(DocletTask.java:513)
> [ejbdoclet] at
> xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:83)
> [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:89)
> [ejbdoclet] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
> [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
> [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
> [ejbdoclet] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> [ejbdoclet] at
> org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> [ejbdoclet] at
>
>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
> ava:40)
> [ejbdoclet] at
>
>
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets
> (EclipseDefaultExecutor.java:32)
> [ejbdoclet] at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> [ejbdoclet] at
>
>
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
> er.java:423)
> [ejbdoclet] at
>
>
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
> ner.java:137)
>
> BUILD FAILED
> C:\apache-roller-src-2.3\build.xml:111: Unexpected error
>
>
> Does Roller need J2EE to build?
> Thanks,
> Matt
>
> On Mon, Oct 6, 2008 at 4:46 PM, muller <n.muller@nouvellemarque.com>
> wrote:
>
> > This class is generated by XDoclet. You should run "rebuild" to generate
> > with metatags this class.
> > You must no modify this class because modifications will be lost during
> the
> > next rebuild. Try to modify the raw sources with metatags if needed.
> >
> > Best regards,
> >
> > -----Message d'origine-----
> > De : djcredo@gmail.com [mailto:djcredo@gmail.com] De la part de Matt
> > Morten
> > Envoyé : lundi 6 octobre 2008 17:33
> > À : user@roller.apache.org
> > Objet : Building from source - 2.3
> >
> > Hi,
> > I downloaded the 2.3 source from your website (couldn't seem to get
> 2.3.1,
> > because the link was dead). I am forced to use 2.3.x because of the
> legacy
> > software we use.
> >
> > I tried to compile from source and found that there were classes being
> > referenced that didn't exist. For example:
> >
> > org.apache.roller.pojos.wrapper.WeblogEntryDataWrapper
> >
> > This class simply doesn't exist in the src zip. And there's more too.
> >
> > One thing to note - I am using the Build target not the All target
> because
> > of some EJB dependencies. Is this connected?
> >
> > Thanks,
> > Matt
> >
> >
>
>


Mime
View raw message