Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » Unable to build Buckminster Site from SVN
Unable to build Buckminster Site from SVN [message #23330] Tue, 05 August 2008 09:33 Go to next message
Guillaume Chatelet is currently offline Guillaume ChateletFriend
Messages: 146
Registered: July 2009
Senior Member
Hi there,

I'm trying to compile buckminster site from SVN but the project org.eclipse.buckminster.test does not compile.
> MimeUtility cannot be resolved TestRunner.java org.eclipse.buckminster.test/src/org/eclipse/buckminster/tes t/junit line 177
> The import javax.mail cannot be resolved TestRunner.java org.eclipse.buckminster.test/src/org/eclipse/buckminster/tes t/junit line 23

When I try to build the site :
org.eclipse.buckminster.update#build.site

I have the following message :
> org.eclipse.core.runtime.CoreException: Basedir T:\travail\src\BuckminsterWorkspace\plugins\javax.mail does not exist
> Basedir T:\travail\src\BuckminsterWorkspace\plugins\javax.mail does not exist

The problem is eclipse uses javax.mail from my eclipse installation :
L:\eclipse\plugins\javax.mail_1.4.0.v200804091730

And it seems not to provide all the files needed by org.eclipse.buckminster.test, plus buckminster's build.site action tries to access javax.mail in the workspace and not the featured eclipse plugin.

I will try to add constrains to the query to force materialization, but I think it's worth warning.

By the way, is "executing the org.eclipse.buckminster.update#build.site" the good way to build a site with all the features like the one at : http://download.eclipse.org/tools/buckminster/updates

Regards,
Guillaume
Re: Unable to build Buckminster Site from SVN [message #23377 is a reply to message #23330] Tue, 05 August 2008 09:40 Go to previous messageGo to next message
Guillaume Chatelet is currently offline Guillaume ChateletFriend
Messages: 146
Registered: July 2009
Senior Member
Ok, that does the trick.

Here is the new Query
> <?xml version="1.0" encoding="UTF-8"?>
> <cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap=" http://www.eclipse.org/buckminster/samples/rmaps/dogfood.rma p">
> <cq:rootRequest name="org.eclipse.buckminster"/>
> <cq:property key="target.arch" value="*"/>
> <cq:property key="target.os" value="*"/>
> <cq:property key="target.ws" value="*"/>
> <cq:advisorNode namePattern="buckminster" sourceLevel="REQUIRE" useMaterialization="false" useTargetPlatform="false"/>
> <cq:advisorNode namePattern="^org\.slf4j\.extendable" componentType="osgi.bundle" useTargetPlatform="false"/>
> <cq:advisorNode namePattern="^org\.apache\.commons\.httpclient" componentType="osgi.bundle" useTargetPlatform="false"/>
> <cq:advisorNode namePattern="^org\.apache\.commons\.codec" componentType="osgi.bundle" useTargetPlatform="false"/>
> <cq:advisorNode namePattern="^javax\.mail" componentType="osgi.bundle" useTargetPlatform="false"/>
> </cq:componentQuery>

I just added an advisor node which prevents Buckminster from resolving javax.mail from the target platform.
Maybe it's worth, updating the query http://www.eclipse.org/buckminster/samples/queries/buckminst er-dev.cquery ?

The action worked and I found my archived site at $(TEMP)/buckminster/org.eclipse.buckminster.update_1.1.0-buc kminster/build

Regards,
Guillaume

Guillaume CHATELET wrote:
> Hi there,
>
> I'm trying to compile buckminster site from SVN but the project
> org.eclipse.buckminster.test does not compile.
>> MimeUtility cannot be resolved TestRunner.java
>> org.eclipse.buckminster.test/src/org/eclipse/buckminster/tes t/junit
>> line 177
>> The import javax.mail cannot be resolved TestRunner.java
>> org.eclipse.buckminster.test/src/org/eclipse/buckminster/tes t/junit
>> line 23
>
> When I try to build the site :
> org.eclipse.buckminster.update#build.site
>
> I have the following message :
>> org.eclipse.core.runtime.CoreException: Basedir
>> T:\travail\src\BuckminsterWorkspace\plugins\javax.mail does not exist
>> Basedir T:\travail\src\BuckminsterWorkspace\plugins\javax.mail does
>> not exist
>
> The problem is eclipse uses javax.mail from my eclipse installation :
> L:\eclipse\plugins\javax.mail_1.4.0.v200804091730
>
> And it seems not to provide all the files needed by
> org.eclipse.buckminster.test, plus buckminster's build.site action tries
> to access javax.mail in the workspace and not the featured eclipse plugin.
>
> I will try to add constrains to the query to force materialization, but
> I think it's worth warning.
>
> By the way, is "executing the org.eclipse.buckminster.update#build.site"
> the good way to build a site with all the features like the one at :
> http://download.eclipse.org/tools/buckminster/updates
>
> Regards,
> Guillaume
Re: Unable to build Buckminster Site from SVN [message #23419 is a reply to message #23330] Tue, 05 August 2008 09:48 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Guillaume CHATELET wrote:
> Hi there,
>
> I'm trying to compile buckminster site from SVN but the project
> org.eclipse.buckminster.test does not compile.
>> MimeUtility cannot be resolved TestRunner.java
>> org.eclipse.buckminster.test/src/org/eclipse/buckminster/tes t/junit
>> line 177
>> The import javax.mail cannot be resolved TestRunner.java
>> org.eclipse.buckminster.test/src/org/eclipse/buckminster/tes t/junit
>> line 23
>
> When I try to build the site :
> org.eclipse.buckminster.update#build.site
>
> I have the following message :
>> org.eclipse.core.runtime.CoreException: Basedir
>> T:\travail\src\BuckminsterWorkspace\plugins\javax.mail does not exist
>> Basedir T:\travail\src\BuckminsterWorkspace\plugins\javax.mail does
>> not exist
>
This is odd. Did you materialize the javax.mail into that location
earlier and then removed it?

> The problem is eclipse uses javax.mail from my eclipse installation :
> L:\eclipse\plugins\javax.mail_1.4.0.v200804091730
>
> And it seems not to provide all the files needed by
> org.eclipse.buckminster.test, plus buckminster's build.site action tries
> to access javax.mail in the workspace and not the featured eclipse plugin.
>
Buckminster should try to access whatever it resolved in the last
cquery. It will not access the workspace at random. Somehow, at some
point, it must have been made to believe that a javax.mail indeed was
present in the workspace.

> I will try to add constrains to the query to force materialization, but
> I think it's worth warning.
>
> By the way, is "executing the org.eclipse.buckminster.update#build.site"
> the good way to build a site with all the features like the one at :
> http://download.eclipse.org/tools/buckminster/updates
>
That's the only way you can build it yourself since signing privileges
at eclipse.org is required in order to build the final update site (only
two committers per project are assigned those privileges). The full
build is in the top-level project, i.e. org.eclipse.buckminster#build.site

Regards,
Thomas Hallgren
Previous Topic:REPOST: Vote for Committer status for Guillaume CHATELET has started
Next Topic:[buckminster-dev] +1 for Guillaume CHATELET
Goto Forum:
  


Current Time: Tue Mar 19 05:52:50 GMT 2024

Powered by FUDForum. Page generated in 0.02415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top