Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] Problems with "EPP/How to build a package locally", Help needed

Markus,

Thank you so much for you response, I did those changes you suggested. Now I am getting exceptions on unable to update or remove features.

Could you please let me know what is the problem
I attached log as well as config file
Thank you
Jay

> -----Original Message-----
> From: mknauer@xxxxxxxxxxxxxx
> Sent: Thu, 25 Sep 2008 10:29:28 +0200
> To: epp-dev@xxxxxxxxxxx
> Subject: Re: [epp-dev] Problems with "EPP/How to build a package
> locally", Help needed
> 
> Hi Jay,
> 
> generally it is a good idea to start the build with the '-consoleLog'
> parameter. That way you can see more details in the build, i.e. errors,
> exceptions, configuration problems, wrong dependencies, etc.
> 
> Going through your config file I found some things that are suspicious:
> 
> (1)  <rcp version="3.4M4" />
> This 'version' attribute is used to build the filename of the platform
> archive
> that you are using as a basis. If you are using
> eclipse-platform-3.4.1-win32.zip this should be version="3.4.1".
> 
> (2) <updateSite url="http://quantum.sourceforge.net/update-site "/>
> You probably need have more external dependencies... so you need more
> update
> sites, at least you should add the Eclipse Platform update site
> <updateSite
> url="http://download.eclipse.org/eclipse/updates/3.4/"; />)
> 
> (3) <requiredFeatures>
> At least this here needs to be added:
>     <feature
>       id="org.eclipse.platform"
>       version="latest">
>     </feature>
> But I have to admit that finding the dependencies (*all* of them) is the
> hardest part of it. Sometimes it helps to use the Update Manager and to
> install the things manually, just to see if there is something missing or
> something required not available.
> 
> Let me know if you have success with these changes and/or send me the
> output
> of your build.
> 
> Regards,
> Markus
> 
> --
> Markus Knauer
> INNOOPRACT Informationssysteme GmbH
> ###     web: www.innoopract.com
> 
> 
> On Thursday 25 September 2008 08:55:14 Jay Man wrote:
>> Hi All,
>> I am trying to build Eclipse package locally and followed procedure
>> stated
>> in this link http://wiki.eclipse.org/EPP/How_to_build_a_package_locally
>> I tried to make a package with quantumDB plugin, I pointed
>> <rootFolder to the location of "eclipse-platform-3.4.1-win32.zip" on my
>> local machine I am attaching my config file here.
>> I set Run Configurations for "EclipsePackageExecutor" from
>> "org.eclipse.epp.packaging.core" and ran it.... I could see the
>> following
>> log messages on console, But I could nt find eclipse.exe any where.
>> ==============================================
>> 
>> Replacing feature version of com.quantum.dbunit.feature with version
>> 3.3.0
>> Replacing feature version of com.quantum.erd.feature with version 3.3.0
>> Replacing feature version of com.quantum.feature with version 3.3.0
>> Replacing feature version of com.quantum.derby.feature with version
>> 3.3.0
>> Replacing feature version of com.quantum.help.feature with version 3.3.0
>> 6 features listed.
>> 2 sites listed.
>> Looking up features...All features accounted for.
>> Installing features...
>> Created installation site at
>> C:\eppEclipseLocal\runtime-New_configuration\extension_site. Installing
>> features for platform win32,win32,x86...
>> Installing feature com.quantum.feature...Done.
>> Installing feature com.quantum.erd.feature...Done.
>> Installing feature com.quantum.dbunit.feature...Done.
>> Installing feature com.quantum.beanshell.feature...Done.
>> Installing feature com.quantum.help.feature...Done.
>> Installing feature com.quantum.derby.feature...Done.
>> Done.
>> Done.
>> Building configured application...
>> Configuration files taken from
>> C:\eppEclipseLocal\runtime-New_configuration\packagerConfiguration. The
>> application will be built in
>> C:\eppEclipseLocal\runtime-New_configuration.
>> Packing installation site....Done.
>> Building...
>> 
>> ==============================================
>> 
>> Where am I going wrong....!!!
>> I would appreciate your help
>> Thanks
>> Jay
>> 
>> 
>> 
>> One-click Webmail Access - Easily monitor & access your email accounts!
>>  Visit http://www.crawler.com/notifier and check it out!
> 
> 
> _______________________________________________
> epp-dev mailing list
> epp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/epp-dev

____________________________________________________________
ONE-CLICK WEBMAIL ACCESS - Easily monitor & access your email accounts!
Visit http://www.crawler.com/notifier and check it out!

Attachment: eclipse-epp.log
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>
<configuration>

  <!-- version: The RCP version to build. This is used to determine the file 
       name of the root file archives -->
  <rcp version="3.4.1" />
  
  <!-- name: The name of the product, used in naming the created files. 
       eclipseProductId: ID of the product for RCP builds
       initialPerspectiveId: ID of the perspective that will be opened first -->
  <product
     name="eclipse-java-ganymede-M4"
     eclipseProductId="org.eclipse.platform.ide"
     initialPerspectiveId="org.eclipse.jdt.ui.JavaPerspective" />

  <!-- Collection of Eclipse Update Sites -->
  <updateSites>
    <!-- url: The URL (without site.xml) that points to a valid Eclipse Update Site.
              The features that are given below are searched for on all sites. -->
<!-- <updateSite url="file:///home/data/httpd/download.eclipse.org/releases/ganymede/staging/" />  --> 
	 <updateSite url="http://quantum.sourceforge.net/update-site/"; />
    <updateSite url="http://download.eclipse.org/eclipse/updates/3.4/"; />  
  </updateSites>

  <!-- A list of root features that will put into the package -->
  <requiredFeatures>

    <!-- A single feature
         id: The feature ID
         version: 'latest' will pick up the feature with the highest version number available 
          on the update sites. Otherwise, the correct version number must be set. -->
 
  <feature
      id="org.eclipse.platform"
      version="latest">
    </feature>        
    <feature
      id="com.quantum.beanshell.feature"
      version="latest">
    </feature>
    <feature
      id="com.quantum.dbunit.feature"
      version="latest">
    </feature>        
	<feature
      id="com.quantum.erd.feature"
      version="latest">
    </feature>

    <feature
      id="com.quantum.feature"
      version="latest">
    </feature>
    <feature
      id="com.quantum.derby.feature"
      version="latest">
    </feature>   
    <feature
      id="com.quantum.help.feature"
      version="latest">
    </feature>
     
  </requiredFeatures>

  <!-- folder: Pointing to a folder containing the zipped root files for each of the target platforms.
               May be specified relative to this configuration file. 
               EPP expects Eclipse Platform archives in there with a name derived from the 'rcp version'
               attribute above, e.g. eclipse-platform-3.4M4-linux-gtk.tar.gz -->
  <rootFileFolder folder="D:\eppEclipseLocal\eclipse-platform\" />


  <!-- relativeFolder: Name of a subfolder where a local update site mirror will be created. -->
  <extensionSite relativeFolder="extension_site"></extensionSite>

<!-- Create archives for win32, linux, macosx platforms, antZip is default format -->
  <!-- Define the target platforms that will be build -->
  <targetPlatforms>

   <!-- Definition of a single platform
         os: OS
         ws: Windowing System
         arch: CPU architecture -->         
    <platform os="win32" ws="win32" arch="x86">

      <!-- Define the output archive format
           format: antZip (default), tar (==tar.gz) -->
      <archiveFormat format="antZip"></archiveFormat>

      <!-- Content of the eclipse.ini file 
           path: Path to eclipse.ini within the archive (Mac OSX has a special requirement) -->
      <eclipseIniFileContent path="/eclipse/">-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m</eclipseIniFileContent>
    </platform>    
  </targetPlatforms>
</configuration>

Back to the top