| [p2] Director install: artifact file for com.ibm.icu noot found [message #113990] | 
Fri, 11 July 2008 09:22   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I am trying to us p2 director to install my RCP application. After  
exporting the product with the metadata, I run p2 director (see below).   
THe install runs fine for a while. It creates the features, plugins and p2  
directories along with artifacts.xml. Then it ends complaining that 
 
!ENTRY org.eclipse.equinox.p2.engine 4 4 2008-07-11 09:10:47.344 
!MESSAGE An error occurred while installing the items 
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2008-07-11  
09:10:47.344 
!MESSAGE The artifact file for com.ibm.icu/osgi.bundle/3.8.1.v20080530 was  
not found. 
 
I can not figure out what is missing.  The repository contains  
plugins/com.ibm.icu_3.8.1.v20080530.jar. The artifacts.xml file in the  
plugin includes  
 
<artifact classifier='osgi.bundle' id='com.ibm.icu'  
version='3.8.1.v20080530'> 
      <properties size='3'> 
        <property name='artifact.size' value='4467363'/> 
        <property name='download.size' value='4467363'/> 
        <property name='download.contentType' value='application/zip'/> 
      </properties> 
</artifact> 
 
Any ideas what I should be looking for? 
 
The complete output from director follows. 
 
Thanks 
Rich Scott 
 
 
 
 
d:\rls\eclipse\3.4\platform\eclipse\eclipsec.exe          
-application org.eclipse.equinox.p2.director.app.application     
-nosplash --launcher.suppressErrors -consoleLog    -flavor tooling     
-installIU org.test.sample.product     
-p2.os win32 -p2.ws win32 -p2.arch x86       
-roaming           
-profile Sample     
-profileProperties org.eclipse.update.install.features=true     
-metadataRepository file:D:/eclipse.build/repository     
-artifactRepository file:D:/eclipse.build/repository     
-destination c:/temp/ce2     
-bundlepool c:/temp/ce2     
-vmargs     -Declipse.p2.data.area=c:/temp/ce2/p2 
Installing org.test.sample.product 0.0.10. 
Installing org.test.sample.product 0.0.10. 
Installation failed. 
!SESSION 2008-07-11 09:10:20.516  
----------------------------------------------- 
eclipse.buildId=I20080617-2000 
java.version=1.6.0_06 
java.vendor=Sun Microsystems Inc. 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Framework arguments:  -application  
org.eclipse.equinox.p2.director.app.application -flavor tooling -installIU  
org.test.sample.product -p2.os win32 -p2.ws win32 -p2.arch x86 -roaming  
-profile Sample -profileProperties  
org.eclipse.update.install.features=true -metadataRepository  
file:D:/eclipse.build/repository  
-artifactRepository file:D:/eclipse.build/repository  
-destination c:/temp/ce2 -bundlepool c:/temp/ce2 
Command-line arguments:  -os win32 -ws win32 -arch x86  
-application org.eclipse.equinox.p2.director.app.application  
-consoleLog -flavor tooling -installIU org.test.sample.product  
-p2.os win32 -p2.ws win32 -p2.arch x86 -roaming -profile Sample 
-profileProperties org.eclipse.update.install.features=true  
-metadataRepository file:D:/eclipse.build/repository  
-artifactRepository file:D:/eclipse.build/repository  
-destination c:/temp/ce2 -bundlepool c:/temp/ce2 
 
!ENTRY org.eclipse.equinox.p2.engine 4 4 2008-07-11 09:10:47.344 
!MESSAGE An error occurred while installing the items 
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2008-07-11  
09:10:47.344 
!MESSAGE The artifact file for com.ibm.icu/osgi.bundle/3.8.1.v20080530 was  
not found.
 |  
 |  
  | 
 | 
| Re: [p2] Director install: artifact file for com.ibm.icu noot found [message #114579 is a reply to message #114505] | 
Fri, 18 July 2008 14:55   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Pascal, 
 
Yes, I am trying to install from a local repository (File: URL).   
 
I don't know if this is related or not. Since writing this post, I ran  
across an unexpected behavior in PDE Project Export. I posted this one in  
eclipse.platform.rcp. It appears that there is some sort of caching going  
on relative to the target directory of the export which impacts what gets  
exported the next time. The first indication of some caching is that if I  
delete both the export directory and the metadata repository (to rebuild  
them from scratch), the repository can end up with multiple versions of my  
plugins.  If I change the directory name for the export, I only get the  
current version. The other thing that I saw was that I was not getting a  
copy of org.eclipse.equinox.launcher... in the repository. I changed the  
feature configuration many ways and still could not get the plugin  
exported, even though it would appear in the product export directory.  
Finally I changed the name of the product export directory and then I  
started getting the proper artifacts created. 
 
I'm not sure if this was the problem relating to com.ibm.icu, but I have  
since been able to create a good repository built, by changing the export  
directory name periodically. So finally, I'm able to generate the  
repository, use p2installer to install, run my applicaiton, and then  
update it. 
 
Rich 
 
 
 
Pascal Rapicault wrote: 
 
> I'm not sure what could be going wrong here. Are you trying to install from  
> a local repository? 
 
 
> "Rich Scott" <rscott@cas.org> wrote in message  
> news:e80d4037f338e0e0b1dd2fffffffb6b9$1@www.eclipse.org... 
>>I am trying to us p2 director to install my RCP application. After  
>>exporting the product with the metadata, I run p2 director (see below).  
>>THe install runs fine for a while. It creates the features, plugins and p2  
>>directories along with artifacts.xml. Then it ends complaining that 
>> 
>> !ENTRY org.eclipse.equinox.p2.engine 4 4 2008-07-11 09:10:47.344 
>> !MESSAGE An error occurred while installing the items 
>> !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2008-07-11  
>> 09:10:47.344 
>> !MESSAGE The artifact file for com.ibm.icu/osgi.bundle/3.8.1.v20080530 was  
>> not found. 
>> 
>> I can not figure out what is missing.  The repository contains  
>> plugins/com.ibm.icu_3.8.1.v20080530.jar. The artifacts.xml file in the  
>> plugin includes 
>> <artifact classifier='osgi.bundle' id='com.ibm.icu'  
>> version='3.8.1.v20080530'> 
>>      <properties size='3'> 
>>        <property name='artifact.size' value='4467363'/> 
>>        <property name='download.size' value='4467363'/> 
>>        <property name='download.contentType' value='application/zip'/> 
>>      </properties> 
>> </artifact> 
>> 
>> Any ideas what I should be looking for? 
>> 
>> The complete output from director follows. 
>> 
>> Thanks 
>> Rich Scott 
>> 
>> 
>> 
>> 
>> d:rlseclipse3.4platformeclipseeclipsec.exe         -application  
>> org.eclipse.equinox.p2.director.app.application    -nosplash  
--launcher.suppressErrors  
>>  -consoleLog    -flavor tooling    -installIU  
>> .test.sample.product    -p2.os win32 -p2.ws win32 -p2.arch  
>>     -roaming          -profile Sample    -profileProperties  
>> org.eclipse.update.install.features=true    -metadataRepository  
>> file:D:/eclipse.build/repository    -artifactRepository  
>> file:D:/eclipse.build/repository    -destination  
>> temp/ce2    -bundlepool  
>> emp/ce2    -vmargs     -Declipse.p2.data.area=c:/temp/ce2/p2 
>> Installing org.test.sample.product 0.0.10. 
>> Installing org.test.sample.product 0.0.10. 
>> Installation failed. 
>> !SESSION 2008-07-11  
>> 09:10:20.516 ----------------------------------------------- 
>> eclipse.buildId=I20080617-2000 
>> java.version=1.6.0_06 
>> java.vendor=Sun Microsystems Inc. 
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
>> Framework arguments:  -application  
>> org.eclipse.equinox.p2.director.app.application -flavor tooling -installIU  
>> org.test.sample.product -p2.os win32 -p2.ws win32 -p2.arch  
>> x86 -roaming -profile Sample -profileProperties  
>> org.eclipse.update.install.features=true -metadataRepository  
>> file:D:/eclipse.build/repository -artifactRepository  
>> file:D:/eclipse.build/repository -destination c:/temp/ce2 -bundlepool  
>> c:/temp/ce2 
>> Command-line arguments:  -os win32 -ws win32 -arch x86 -application  
>> org.eclipse.equinox.p2.director.app.application -consoleLog -flavor  
>> tooling -installIU org.test.sample.product -p2.os win32 -p2.ws  
>> win32 -p2.arch x86 -roaming -profile Sample 
>> -profileProperties  
>> org.eclipse.update.install.features=true -metadataRepository  
>> file:D:/eclipse.build/repository -artifactRepository  
>> file:D:/eclipse.build/repository -destination c:/temp/ce2 -bundlepool  
>> c:/temp/ce2 
>> 
>> !ENTRY org.eclipse.equinox.p2.engine 4 4 2008-07-11 09:10:47.344 
>> !MESSAGE An error occurred while installing the items 
>> !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2008-07-11  
>> 09:10:47.344 
>> !MESSAGE The artifact file for com.ibm.icu/osgi.bundle/3.8.1.v20080530 was  
>> not found. 
>> 
>> 
>> 
>>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03908 seconds