Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » fwConfigLocation.equals(fwPersistentDataLocation) during p2 update
fwConfigLocation.equals(fwPersistentDataLocation) during p2 update [message #533320] Thu, 13 May 2010 10:22 Go to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
Hi,

I've created p2 update site, and try to use it to update my product, but following error appers during update process:
java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)
!fwConfigLocation=c:\var\builds\hudson\jobs\(...)\MY_PRODUCT.win32.win32.x86\configuration
,fwPersistentDataLocation=c:\var\builds\hudson\jobs\(...)\MY_PRODUCT.win32.win32.x86\configuration


Directory
/var/builds/hudson...
exists only on my build server and I don't know why it's included in my product.

What should I do to fix update process?

Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533325 is a reply to message #533320] Thu, 13 May 2010 11:56 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
How did you create the p2 update site?
- henrik

Maciej Oledzki <maciej.oledzki@gmail.com> wrote:
> Hi,
>
> I've created p2 update site, and try to use it to update my product,
> but following error appers during update process:
> java.lang.IllegalStateException:
> !fwConfigLocation.equals(fwPersistentDataLocation)
> !fwConfigLocation=c:\var\builds\hudson\jobs\(...)\MY_PRODUCT .win32.win32.x86\configuration
> ,fwPersistentDataLocation=c:\var\builds\hudson\jobs\(...)\MY _PRODUCT.win32.win32.x86\configuration
>
> Directory
> /var/builds/hudson... exists only on my build server and I don't know
> why it's included in my product.
>
> What should I do to fix update process?
>
>
>


--
- henrik
Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533326 is a reply to message #533325] Thu, 13 May 2010 12:08 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
I have invoked site.p2.zip action on my site project:
perform -D target.os=win32 -D target.ws=win32 -D target.arch=x86 myproduct.site#site.p2.zip

I have also noticed, that
p2\org.eclipse.equinox.p2.engine\profileRegistry\MY_PRODUCTProfile.profile\.data\.settings\org.eclipse.equinox.p2.artifact.repository.prefs
file in my freshly builded product contains repository path from build server.

[Updated on: Thu, 13 May 2010 12:08]

Report message to a moderator

Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533343 is a reply to message #533326] Thu, 13 May 2010 12:52 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes Utzig
Messages: 329
Registered: July 2009
Senior Member
Hi Maciej,

how do you invoke the p2 director to create your product? Did you pass
the -roaming parameter?

Regards,
Johannes
Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533361 is a reply to message #533343] Thu, 13 May 2010 14:20 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
Hi Johannes,

No, I'm using generic product.ant build file and there is no such parameter.

If I add it to build file my problem will be solved?
Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533384 is a reply to message #533361] Thu, 13 May 2010 15:40 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes Utzig
Messages: 329
Registered: July 2009
Senior Member
Without the -roaming parameter your product cannot be moved anymore once
it is created at its destination.
See here for additional information:
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_director.html

Regards,
Johannes
Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533529 is a reply to message #533384] Fri, 14 May 2010 13:14 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
Thanks a lot, adding -roaming to build file solved my problem.
Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533548 is a reply to message #533529] Fri, 14 May 2010 13:58 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
Hi,
I would apreciate if a documentation "troubleshoot" issue was logged for
buckminster.

Regards
- henrik

On 5/14/10 3:14 PM, Maciej Oledzki wrote:
> Thanks a lot, adding -roaming to build file solved my problem.
Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533873 is a reply to message #533548] Mon, 17 May 2010 10:50 Go to previous message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
OK, issue has been created.
Previous Topic:Custom config.ini
Next Topic:Setting CDT preferences
Goto Forum:
  


Current Time: Sun Sep 21 02:08:02 GMT 2014

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

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