[b3 0.2.0] "Registry Directory not available..." [message #721245] |
Thu, 01 September 2011 08:42 |
Eclipse User |
|
|
|
Originally posted by: Ralf Zozmann
Hi,
just after updating from 0.1 to 0.2 i cannot longer build any
aggregation site from a given *.b3aggr file. I replaced the old
'aggreate' command by 'validationSet' and leave all other options
untouched. My headless command to start b3 is:
<eclipse.launch app="b3" failonerror="true">
<args>
<arg value="-data" />
<arg value="${basedir}/.tmpWS" />
<arg value="-application" />
<arg value="org.eclipse.b3.cli.headless" />
<arg value="validationSet" />
<arg value="--buildModel" />
<arg value="@{b3file}" />
<arg value="--action" />
<arg value="CLEAN_BUILD" />
<arg value="--buildRoot" />
<arg value="${basedir}/_b3mirror" />
</args>
</eclipse.launch>
I got the message:
Build failed! Exception was java.lang.IllegalStateException: Registry
Directory not available: <my
path>/_b3mirror/p2/org.eclipse.equinox.p2.engine/profileRegistry.
The directory .../_b3mirror is not existing, but created while executing
of command. The stacktrace is:
java.lang.IllegalStateException: Registry Directory not available: <my
path>/_b3mirror/p2/org.eclipse.equinox.p2.engine/profileRegistry.
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:419)
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:277)
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfiles(SimpleProfileRegistry.java:259)
at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1613)
at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1688)
at org.eclipse.b3.cli.AbstractCommand.run(AbstractCommand.java:133)
at org.eclipse.b3.cli.Headless.run(Headless.java:161)
at org.eclipse.b3.cli.Headless.start(Headless.java:197)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Any hints?
Regards
Ralf
|
|
|
Re: [b3 0.2.0] "Registry Directory not available..." [message #721266 is a reply to message #721245] |
Thu, 01 September 2011 09:38 |
Eclipse User |
|
|
|
Originally posted by: Ralf Zozmann
Ok, looking into the buglist i found
https://bugs.eclipse.org/bugs/show_bug.cgi?id=354321. Changing my option
CLEAN_BUILD into BUILD does it. Now i have another problem...
On 09/01/2011 10:42 AM, Ralf Zozmann wrote:
> Hi,
>
> just after updating from 0.1 to 0.2 i cannot longer build any
> aggregation site from a given *.b3aggr file. I replaced the old
> 'aggreate' command by 'validationSet' and leave all other options
> untouched. My headless command to start b3 is:
>
> <eclipse.launch app="b3" failonerror="true">
> <args>
> <arg value="-data" />
> <arg value="${basedir}/.tmpWS" />
> <arg value="-application" />
> <arg value="org.eclipse.b3.cli.headless" />
> <arg value="validationSet" />
> <arg value="--buildModel" />
> <arg value="@{b3file}" />
> <arg value="--action" />
> <arg value="CLEAN_BUILD" />
> <arg value="--buildRoot" />
> <arg value="${basedir}/_b3mirror" />
> </args>
> </eclipse.launch>
>
> I got the message:
> Build failed! Exception was java.lang.IllegalStateException: Registry
> Directory not available: <my
> path>/_b3mirror/p2/org.eclipse.equinox.p2.engine/profileRegistry.
>
> The directory .../_b3mirror is not existing, but created while executing
> of command. The stacktrace is:
>
> java.lang.IllegalStateException: Registry Directory not available: <my
> path>/_b3mirror/p2/org.eclipse.equinox.p2.engine/profileRegistry.
> at
> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:419)
> at
> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:277)
> at
> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfiles(SimpleProfileRegistry.java:259)
> at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1613)
> at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1688)
> at org.eclipse.b3.cli.AbstractCommand.run(AbstractCommand.java:133)
> at org.eclipse.b3.cli.Headless.run(Headless.java:161)
> at org.eclipse.b3.cli.Headless.start(Headless.java:197)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
>
> Any hints?
>
> Regards
> Ralf
|
|
|
Re: [b3 0.2.0] "Registry Directory not available..." [message #721297 is a reply to message #721266] |
Thu, 01 September 2011 11:32 |
|
You seem to be using an old version. The current version on our update sites:
http://download.eclipse.org/modeling/emft/b3/headless-3.7
http://download.eclipse.org/modeling/emft/b3/updates-3.7
has no 'validationSet' command and bug 354321 is fixed. Our update sites were updated on August 18.
- thomas
On 2011-09-01 11:38, Ralf Zozmann wrote:
> Ok, looking into the buglist i found
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=354321. Changing my option
> CLEAN_BUILD into BUILD does it. Now i have another problem...
>
>
>
> On 09/01/2011 10:42 AM, Ralf Zozmann wrote:
>> Hi,
>>
>> just after updating from 0.1 to 0.2 i cannot longer build any
>> aggregation site from a given *.b3aggr file. I replaced the old
>> 'aggreate' command by 'validationSet' and leave all other options
>> untouched. My headless command to start b3 is:
>>
>> <eclipse.launch app="b3" failonerror="true">
>> <args>
>> <arg value="-data" />
>> <arg value="${basedir}/.tmpWS" />
>> <arg value="-application" />
>> <arg value="org.eclipse.b3.cli.headless" />
>> <arg value="validationSet" />
>> <arg value="--buildModel" />
>> <arg value="@{b3file}" />
>> <arg value="--action" />
>> <arg value="CLEAN_BUILD" />
>> <arg value="--buildRoot" />
>> <arg value="${basedir}/_b3mirror" />
>> </args>
>> </eclipse.launch>
>>
>> I got the message:
>> Build failed! Exception was java.lang.IllegalStateException: Registry
>> Directory not available:<my
>> path>/_b3mirror/p2/org.eclipse.equinox.p2.engine/profileRegistry.
>>
>> The directory .../_b3mirror is not existing, but created while executing
>> of command. The stacktrace is:
>>
>> java.lang.IllegalStateException: Registry Directory not available:<my
>> path>/_b3mirror/p2/org.eclipse.equinox.p2.engine/profileRegistry.
>> at
>> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:419)
>> at
>> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:277)
>> at
>> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfiles(SimpleProfileRegistry.java:259)
>> at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1613)
>> at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1688)
>> at org.eclipse.b3.cli.AbstractCommand.run(AbstractCommand.java:133)
>> at org.eclipse.b3.cli.Headless.run(Headless.java:161)
>> at org.eclipse.b3.cli.Headless.start(Headless.java:197)
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
>>
>> Any hints?
>>
>> Regards
>> Ralf
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03125 seconds