[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-build-dev] How do I get my headless build to take note of the .product file I am pointing the "product" property at?
|
Yeah, sorry about missing the build.properties adjustments, and the
quotation marks issue. I had also tried the product property as you
specified, also with no success.
FWIW, The output I get when running the script is below.
Thanks for giving it a try for me.
Doug
E:\headless>headless
E:\headless>rem make sure cvs.exe, unz552xN.exe, zip.exe are on your path
E:\headless>set HEADLESS_BUILD_HOME=E:\headless
E:\headless>set JAVA_HOME=C:\Program Files\Java\jrockit-jdk1.5.0_03
E:\headless>set HOME=C:\Documents and Settings\doug
E:\headless>set ECLIPSE_HOME=E:\Docs\eclipse
E:\headless>rd /s /q E:\headless\features
The system cannot find the file specified.
E:\headless>rd /s /q E:\headless\plugins
The system cannot find the file specified.
E:\headless>mkdir features
E:\headless>mkdir features\org.eclipse.rcp.helloFeature
E:\headless>mkdir plugins
E:\headless>mkdir plugins\org.eclipse.rcp.hello
E:\headless>xcopy /s org.eclipse.rcp.hello plugins\org.eclipse.rcp.hello
org.eclipse.rcp.hello\.classpath
org.eclipse.rcp.hello\.project
org.eclipse.rcp.hello\build.properties
org.eclipse.rcp.hello\hello.product
org.eclipse.rcp.hello\plugin.xml
org.eclipse.rcp.hello\META-INF\MANIFEST.MF
org.eclipse.rcp.hello\src\org\eclipse\rcp\hello\Application.java
org.eclipse.rcp.hello\src\org\eclipse\rcp\hello\ApplicationActionBarAdvisor.java
org.eclipse.rcp.hello\src\org\eclipse\rcp\hello\ApplicationWorkbenchAdvisor.java
org.eclipse.rcp.hello\src\org\eclipse\rcp\hello\ApplicationWorkbenchWindowAdvisor.java
org.eclipse.rcp.hello\src\org\eclipse\rcp\hello\HelloPlugin.java
org.eclipse.rcp.hello\src\org\eclipse\rcp\hello\Perspective.java
12 File(s) copied
E:\headless>xcopy /s org.eclipse.rcp.helloFeature features\org.eclipse.rcp.helloFeature
org.eclipse.rcp.helloFeature\.project
org.eclipse.rcp.helloFeature\build.properties
org.eclipse.rcp.helloFeature\feature.xml
org.eclipse.rcp.helloFeature\helloFeature.product
4 File(s) copied
E:\headless>"C:\Program Files\Java\jrockit-jdk1.5.0_03\bin\java.exe"
-cp E:\Docs\eclipse\startup.jar org.eclipse.core.launcher.Main
-application org.eclipse.ant.core.antRunner -buildfile build.xml
Buildfile: build.xml
main:
preBuild:
preSetup:
checkLocalMaps:
getMapFiles:
[concat] No existing files and no nested text, doing nothing
postSetup:
checkLocalBase:
getBaseComponents:
fetch:
generate:
preGenerate:
allElements:
init:
generateScript:
postGenerate:
clean:
allElements:
init:
cleanElement:
[echo] E:/headless/features/org.eclipse.rcp.helloFeature
init:
clean:
init:
all.features:
all.plugins:
properties:
init:
clean:
update.feature:
all.children:
process:
preProcess:
allElements:
init:
processElement:
init:
build.jars:
init:
all.features:
all.plugins:
properties:
init:
build.jars:
properties:
init:
@dot:
[mkdir] Created dir:
E:\headless\plugins\org.eclipse.rcp.hello\temp.folder\@dot.bin
[javac] Compiling 6 source files to
E:\headless\plugins\org.eclipse.rcp.hello\temp.folder\@dot.bin
[copy] Copying 6 files to E:\headless\plugins\org.eclipse.rcp.hello\@dot
[delete] Deleting directory
E:\headless\plugins\org.eclipse.rcp.hello\temp.folder\@dot.bin
update.feature:
all.children:
postProcess:
assemble:
preAssemble:
allElements:
init:
assembleElement:
main:
assemble.org.eclipse.rcp.helloFeature:
main:
[mkdir] Created dir: E:\headless\I.HeadlessBuild
[mkdir] Created dir: E:\headless\tmp
properties:
init:
gather.bin.parts:
[mkdir] Created dir: E:\headless\tmp\plugins\org.eclipse.rcp.hello_1.0.0
[copy] Copying 6 files to E:\headless\tmp\plugins\org.eclipse.rcp.hello_1.0.0
[copy] Copying 2 files to E:\headless\tmp\plugins\org.eclipse.rcp.hello_1.0.0
init:
gather.bin.parts:
children:
[mkdir] Created dir: E:\headless\tmp\features\org.eclipse.rcp.helloFeature_1.0.0
[copy] Copying 1 file to E:\headless\tmp\features\org.eclipse.rcp.helloFeature_1.0.0
rootFiles*_*_*:
jarUp:
jarIng:
[zip] Building zip: E:\headless\tmp\plugins\org.eclipse.rcp.hello_1.0.0.jar
[delete] Deleting directory E:\headless\tmp\plugins\org.eclipse.rcp.hello_1.0.0
[zip] Building zip: E:\headless\I.HeadlessBuild\org.eclipse.rcp.helloFeature-HeadlessBuild.zip
[zip] Updating zip: E:\headless\I.HeadlessBuild\org.eclipse.rcp.helloFeature-HeadlessBuild.zip
[delete] Deleting directory E:\headless\tmp
postAssemble:
package:
prePackage:
allElements:
init:
packageElement:
main:
assemble.org.eclipse.rcp.helloFeature:
main:
[mkdir] Created dir: E:\headless\tmp
[delete] Deleting directory E:\headless\tmp
postPackage:
postBuild:
postBuild:
gatherLogs:
[mkdir] Created dir: E:\headless\I.HeadlessBuild\compilelogs
allElements:
init:
gatherLogs:
init:
zip.logs:
[mkdir] Created dir: E:\headless\features\org.eclipse.rcp.helloFeature\feature.temp.folder
init:
all.features:
all.plugins:
properties:
init:
gather.logs:
[mkdir] Created dir:
E:\headless\features\org.eclipse.rcp.helloFeature\feature.temp.folder\plugins\org.eclipse.rcp.hello_1.0.0
[copy] Copying 1 file to
E:\headless\features\org.eclipse.rcp.helloFeature\feature.temp.folder\plugins\org.eclipse.rcp.hello_1.
0.0
update.feature:
all.children:
[zip] Building zip:
E:\headless\features\org.eclipse.rcp.helloFeature\org.eclipse.rcp.helloFeature_1.0.0.log.zip
[delete] Deleting directory E:\headless\features\org.eclipse.rcp.helloFeature\feature.temp.folder
[unzip] Expanding:
E:\headless\features\org.eclipse.rcp.helloFeature\org.eclipse.rcp.helloFeature_1.0.0.log.zip
into E:\headless
\I.HeadlessBuild\compilelogs
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 4 seconds
E:\headless>
On 9/15/05, Martin Jäger <martin.jaeger@xxxxxxxxxxxx> wrote:
Hi Doug
It runs for me but, it does not do the product (as supposed). So it is
possible to submit as bug to eclipse.org. I have a few remarks before
you put it to the bug reports:
I think the product property should be (but that does not work too):
product=/org.eclipse.rcp.helloFeature/helloFeature.product
Add doublequotes also around the -cp like in my example (to avoid
whitespace problems): "%JAVA_HOME%\bin\java.exe" -cp
"%ECLIPSE_HOME%\startup.jar"
Build directory is hardcoded in build.properties (a user has to change
it there also).
The zip must be unpacked in the builddirectory given in the build
properties file.
Thanks and bye,
Martin
doug barnum wrote:
> I haven't filed a report yet-- I want to get some sanity-checking first.
>
> I've attached a minimal zip, which illustrates by problem. I can export
> the helloFeature.product in eclipse successfully.
>
> Running headless.bat after unzipping and renaming it to .bat (so gmail
> will send it) this small 16KB zip, and patching up any local refs to
> eclipse, and the drive (at the top of the .bat), results in a "build
> successful" for me, but alas, no productization occurs, and no
> errors/warnings.
>
> I have tried every conceivable way of specifying the path to the
> .product file beyond the one in build.properties.
>
> Any help would be much appreciated. It must be something stupid that I'm
> doing wrong.
>
> Doug
>
>
> On 9/12/05, *Martin Jäger* <
martin.jaeger@xxxxxxxxxxxx
> <mailto:martin.jaeger@xxxxxxxxxxxx>> wrote:
>
> Hi Doug
>
> I can say that I was not able to make it running...
> The bad thing is that my project is currently confidential and I cannot
> post my build files. Did you do a bug report? Which number?
> Then I can vote and add my experiences there.
>
> Regards,
> Martin
>
>
> doug barnum wrote:
> > I'm experiencing the same problem as Martin Jager (was?) .
> >
> > I can run a headless pde build of my feature (and its nested plugin),
> > the build script completes with "BUILD SUCCESSFUL", but what is
> built is
> > NOT the productized standalone executable I expect.
> >
> > I have defined the product property pointer to my .product file in
> > multiple ways, and even put complete garbage in that property,
> and it
> > makes no difference. I get a plugins and a features folder, but no
> > top-level eclipse.exe
, let alone any branding, as specified in my
> > <feature>.product file.
> >
> > I've tried to follow the few tutorials out there, but at this
> point, I
> > can find no further information, and I'm stumped.
> >
> > Anyone have any thoughts?
> >
> > I'm using the 3.1.0 build, pulling build.xml, build.properties,
> > customTargets.xml, genericTargets.xml , and
package.xml from the
> > templates or scripts directory of org.eclipse.pde.build_3.1.0,
> creating
> > a map file for my build, and everything goes just fine, with the
> > exception of the non-productized output.
> >
> > Needless to say, I can export just fine from within eclipse using the
> > product export wizard.
> >
> > thanks,
> >
> > Doug Barnum