Skip to main content



      Home
Home » Archived » Buckminster » fwConfigLocation.equals(fwPersistentDataLocation) during p2 update
fwConfigLocation.equals(fwPersistentDataLocation) during p2 update [message #533320] Thu, 13 May 2010 06:22 Go to next message
Eclipse UserFriend
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 07:56 Go to previous messageGo to next message
Eclipse UserFriend
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 08:08 Go to previous messageGo to next message
Eclipse UserFriend
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 08:08] by Moderator

Re: fwConfigLocation.equals(fwPersistentDataLocation) dur ing p2 update [message #533343 is a reply to message #533326] Thu, 13 May 2010 08:52 Go to previous messageGo to next message
Eclipse UserFriend
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 10:20 Go to previous messageGo to next message
Eclipse UserFriend
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 11:40 Go to previous messageGo to next message
Eclipse UserFriend
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 09:14 Go to previous messageGo to next message
Eclipse UserFriend
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 09:58 Go to previous messageGo to next message
Eclipse UserFriend
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 06:50 Go to previous message
Eclipse UserFriend
OK, issue has been created.
Previous Topic:Custom config.ini
Next Topic:Setting CDT preferences
Goto Forum:
  


Current Time: Thu May 15 13:19:34 EDT 2025

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

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

Back to the top