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

Okay, first of all, I attached the wrong configuration file... here is another 
one. :)

The other thing is that I tried the configuration on Linux only, not on a 
Windows machine. It might be necessary to specify the path names in the 
config file with a '/' and not with a '\'... or maybe vice-versa? Not sure 
about his but it's worth a try if everything else fails.

And the very last recommendation: Due to the Ganymede SR1 release two days 
ago, the eclipse.org servers are under heavy load. This slows down the EPP 
build process and/or ends in socket/network errors.

Markus


-- 
Markus Knauer
INNOOPRACT Informationssysteme GmbH
###     web: www.innoopract.com


On Friday 26 September 2008 10:47:47 Markus Knauer wrote:
> Hi Jay,
>
> I am not sure what causes this error that you have in your logfile.
>
> (1)
> -> IOException: InputStream ended after 2602849 bytes
> -> Unable to remove "D:\...\features\com.quantum.beanshell.feature_3.3.0"
> from the file system.
>
> => Maybe it helps if you delete the EPP build workspace. Could be related
> to Windows or the Windows filesystem but this is only a guess...
>
> (2)
> FeatureDownloadException: An exception occured while downloading feature
> from
> "http://quantum.sourceforge.net/.../com.quantum.help.feature_3.3.0.jar";.
>
> => This is definitively an error in your network connection.
>
>
> Going through the dependencies of the quantum features, I found out that at
> least the feature org.eclipse.gef is missing and then there is a bundle
> org.junit referenced (provided by feature org.eclipse.jdt). In order to add
> this to your config file add
>
>     <feature
>       id="org.eclipse.jdt"
>       version="latest">
>     </feature>
>     <feature
>       id="org.eclipse.gef"
>       version="latest">
>     </feature>
>
> to the list of required features and
>
>     <updateSite url="http://download.eclipse.org/releases/ganymede/"; />
>
> as additional update site / repository. The org.eclipse.gef feature will be
> loaded from this site.
>
> I've attached the modified config file to the mail.
>
> Regards, Markus


<?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-quantum-ganymede"
     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/"; />
    <updateSite url="http://download.eclipse.org/releases/ganymede/"; />
<!--    
    <updateSite url="file:///home/data/httpd/download.eclipse.org/eclipse/updates/3.4/" />  
    <updateSite url="file:///home/data/httpd/download.eclipse.org/releases/ganymede/" />  
    -->
  </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="org.eclipse.jdt"
      version="latest">
    </feature>
    <feature
      id="org.eclipse.gef"
      version="latest">
    </feature>
    <feature
      id="com.quantum.feature"
      version="latest">
    </feature>
    <!-- not necessary: these features are included in the com.quantum.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.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="/home/data/httpd/download.eclipse.org/eclipse/downloads/drops/R-3.4.1-200809111700/" /> -->
  <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