Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 204350 - build.properties ignored in Net4j source plugin/feature
Summary: build.properties ignored in Net4j source plugin/feature
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.net4j (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P1 minor (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-22 05:15 EDT by Eike Stepper CLA
Modified: 2010-06-25 14:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2007-09-22 05:15:39 EDT
The file /org.eclipse.net4j.sdk-feature/sourceTemplatePlugin/build.properties seems to be ignored. When I ssh to the build server I see the following:

estepper@emft:~/net4j-builds/N200709220501/eclipse/plugins $ ll org.eclipse.net4j.source
total 24K
-rw-r--r--  1 apache apache  186 Sep 22 05:03 plugin.xml
-rw-r--r--  1 apache apache 6.0K Sep 22 05:03 build.xml
-rw-r--r--  1 apache apache  106 Sep 22 05:03 build.properties
drwxr-xr-x  2 apache apache 4.0K Sep 22 05:03 META-INF
drwxr-xr-x  7 apache apache 4.0K Sep 22 05:04 src

estepper@emft:~/net4j-builds/N200709220501/eclipse/plugins $ cat  org.eclipse.net4j.source/build.properties
#Sat Sep 22 05:03:08 EDT 2007
bin.includes=plugin.xml,src/**/*.zip,META-INF/MANIFEST.MF
sourcePlugin=true

The build.properties file must be generated somewhere. It's not the one I'm staring at in my local workspace (and which got properly checked out by the build).
Comment 1 Eike Stepper CLA 2007-09-22 05:23:15 EDT
And the following excerpt from the generated build.xml makes me wonder:

        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
                <mkdir dir="${destination.temp.folder}/org.eclipse.net4j.source_0.8.0.v200709220501"/>
                <copy todir="${destination.temp.folder}/org.eclipse.net4j.source_0.8.0.v200709220501" failonerror="true" overwrite="false">
                        <fileset dir="${basedir}">
                                <include name="plugin.xml"/>
                                <include name="src/**/*.zip"/>
                                <include name="META-INF/MANIFEST.MF"/>
                        </fileset>
                </copy>
                <eclipse.versionReplacer path="${destination.temp.folder}/org.eclipse.net4j.source_0.8.0.v200709220501" version="0.8.0.v200709220501"/>
        </target>
Comment 2 Eike Stepper CLA 2007-09-22 07:14:08 EDT
I got it!

-> http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/studio/doc/pde-build-readme.html?rev=HEAD
"In the feature project from which the source feature will be generated, a directory called sourceTemplateFeature and a directory called sourceTemplatePlugin will be required."

Not in the sdk feature!
Comment 3 Eike Stepper CLA 2007-10-16 05:22:14 EDT
Fixed in I200710101632.
Comment 4 Nick Boldt CLA 2008-01-28 16:44:37 EST
Move to verified as per bug 206558.
Comment 5 Eike Stepper CLA 2008-06-10 02:28:46 EDT
Reversioned due to graduation
Comment 6 Eike Stepper CLA 2008-09-11 13:48:45 EDT
CLOSING