[xwiki-dev] Errors building in eclipse
Dan Murphy
dm.subs at googlemail.com
Wed Jan 3 17:44:51 CET 2007
Really Sergiu... what's your config ? - I'm using Eclispe 3.2.1 with WTP 1.5,
Subclipse under a 1.5 JDK running on Linux (kunbutu 6.0.6) - I was trying to
compile the 10beta1, perhaps someone has fixed the .classpath file in
trunk....
Cheers,
Dan
On 03/01/07, Sergiu Dumitriu <sergiu.dumitriu at gmail.com> wrote:
>
> I'm using eclipse, and it's working for me, with the files from trunk.
>
> On 1/3/07, Marc Lijour <marc at lijour.net > wrote:
>
> > On Wednesday 03 January 2007 06:42, Dan Murphy wrote:
> > > Hi,
> > > As per a page
> > > http://www.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse there
> > are a
> > > couple of issues if one tries to build XWiki inside eclipse.
> > >
> > > Is it of interest to get this working properly ? if so there is a
> > > .classpath file that fixes some (trivial) problems (
> > >
> > http://www.xwiki.org/xwiki/bin/download/Community/BuildingInEclipse/.classp
> > >ath ).
> > >
> > > The catus ant task def has some errors (inside eclipse anyway) - seems
> > to
> > > be due to the interaction between cactus-ant and junit the following
> > > warning is issued:
> > > A class needed by class org.apache.cactus.integration.ant.CactusTaskcannot
> > > be found: junit/framework/TestListener xwiki-trunk build.xml
> > line
> > > 211
> >
> > You don't need to copy the junit jar file into ant/lib, although that is
> > what
> > the ant cactus task documentation is recommending. But I had problems
> > with
> > conflicting junit jar files in the past.
> >
> > You can do menu Run > External tools > External tools, to create a
> > configuration for your ant build -if not already done (usually the tool
> > does
> > it for you). Then go to the classpath tab and click on 'User Entries',
> > and
> > then the 'Add JARs...' button on the right. You select the junit jar
> > file
> > from xwiki/lib and all the rest will work without complaints.
> >
> > > This actually prevents the ant script from being executed correctly -
> > since
> > > I don't (currently) run the targets that needs this I can get around
> > the
> > > problem by simply commenting out the taskdef - however I'm a bit
> > stumped on
> > > how to fix this properly (since the class in question should be
> > available).
> > >
> > > Assuming building in eclipse is desired (and that the svn repository
> > should
> > > contain the .classpath and other . files used by eclipse) shall I
> > simply
> > > open a couple of jira's for these problems ?
> >
> > There is a .classpath I believe but I could not find a way to modify it
> > to
> > make the ant build work. Tell me if you do ;-)
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-dev at objectweb.orgmailing list.
> > To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> > For general help: mailto: sympa at objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.orgmailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20070103/52132550/attachment.html
More information about the devs
mailing list