Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] How to make a feature available to PDE eclipse.buildscript task?

Hi Naci,

First, thank you for replying. I did build WTP locally and run tests using releng.wtpbuilder successfully. Thank you for refactoring the builder and it works much better.

Then, I used the releng.wtpbuilder as my base to build jsf project but probably miss something. Attached at the end of this email is current structure.

Tried to check typo for ids and make sure that tags are available in cvs several times. Must going blind somehow, somewhere. :-( Tried to search for the words and google answers
but not much info available.

The areas I focused on checking were in the plug-in, feature, and map files. Any other areas that you think that I should take a closer look?
Thank you very much,
Justin
Oracle

-------------------- CVS structure -----------------
+ releng.wtpbuilder
   + components
      + jsf
          - build.properties                      <-- copied from jst
- customTargets.xml <-- copied from jst and modified - dependency.xml <-- copied from jst and modified
      + ...
   + distribution
      + jsf.build
- build.xml <-- copied from wtp.build and modified.
     + ...
- build.properties <-- change distribution to jsf
  - build.xml

+ releng
  + maps
- jsf.map <-- mimic the other map - jsf-feature.map <-- mimic the other map, As you can see in the directory.txt in email earlier.

+ org.eclipse.jsf <-- Mimic oher structure but not finalize the sructure yet. Suggestions are welcomed.
  + components
     + assembly
        + features
+ org.eclipse.jsf.feature <-- ** Also tag as version v20051027_1300
              - build.properties
- feature.xml <-- include plug-in, org.eclipse.jsf.core version 1.0.0, not include other features.

     + jsf
        + plugins
+ org.eclipse.jsf.core <-- ** Also tag as version v20051027_1740 - plugin.xml <-- id=org.eclipse.jsf.core, version=1.0.0
              - ...

Naci Dai wrote:

Justin,

This usually happens when there is something wrong in the prerequsite chain feature includes plugin dependes on plugin etc. Typically a typo, or tag wrong etc.

Have you looekd at the releng.wtpbuilder. You can try to create a "distribution" for jsf. It has all the infrastructure ready to run builds for you...


Deleted the build folder and re-run the build.xml scripts seems resolve previous issue and move forward a bit. But, the plugin is not found now. Any idea where should I look to resolve this? BTW, where is the error log?

Thank you in advance,
Justin
Oracle

The followings are in the directory.txt and the versions are in my cvs.

--------- directory.txt ---
feature@xxxxxxxxxxxxxxx=v20051027_1300,:pserver:ychen@ychen-pc:/CVS/WebTools,,org.eclipse.jsf/components/assembly/features/org.eclipse.jsf.feature
!*************** jsf.map

plugin@xxxxxxxxxxxxxxxxxxxx=v20051027_1740,:pserver:ychen@ychen-pc:/CVS/WebTools,,org.eclipse.jsf/components/jsf/plugins/org.eclipse.jsf.core
...
--------- end of directory.txt ---

--------- error stack ---
    ...
    [java] BUILD FAILED
[java] E:\Projects\JSF_Build\releng.wtpbuilder\scripts\build\build.xml:28: The following error occurred while executing this line: [java] C:\nmd\dev\build-home\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:23: The following error occurred while executing this line: [java] C:\nmd\dev\build-home\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:63: The following error occurred while executing this line: [java] E:\Projects\JSF_Build\releng.wtpbuilder\components\jsf\customTargets.xml:15: The following error occurred while executing this line: [java] C:\nmd\dev\build-home\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:77: org.eclipse.core.runtime.CoreException: Unable to find plug-in: org.eclipse.jsf.core_1.0.0. Please check the error log for more details.
    [java] Total time: 36 seconds



Justin Chen wrote:

I tried to mimic current wtp build structure for our jsf project.

After adding some components to my local repository, such as releng.wtpbuilder\components\jsf\*, releng.wtpbuilder\distribution\jsf.build\build.xml, releng\maps\jsf.map, releng\maps\jsf-feature.map, etc, the following is the error I ran into in Ant and not sure how to resolve this problem.

BTW, the following is the content of my jsf-feature.map.
feature@xxxxxxxxxxxxxxx=v20051026_1300,:pserver:ychen@ychen-pc:/CVS/WebTools,,org.eclipse.jsf/components/assembly/features/org.eclipse.jsf.feature

It seems that I am hacking alone the way and not sure if this is a right approach. Any suggestion is welcomed.

Also, Thank you in advance if you have any suggestion or documentation for the problem or this task in general.

Thanks again,
Justin
Oracle

-----------------------------
    ...
    [java] [echo] elements=feature@xxxxxxxxxxxxxxx
[java] [echo] buildDirectory=C:/nmd/dev/build-home/build-jsf-I/workdir
    [java] [echo] configInfo=*,*,*
[java] [echo] baseLocation=C:/nmd/dev/build-home/build-jsf-I/eclipse
    [java] [echo] buildingOSGi=true
    [java] [echo] archivesFormat=*,*,*-antZip
    [java] BUILD FAILED
[java] E:\Projects\JSF_Build\releng.wtpbuilder\scripts\build\build.xml:28: The following error occurred while executing this line: [java] C:\nmd\dev\build-home\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:23: The following error occurred while executing this line: [java] C:\nmd\dev\build-home\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:63: The following error occurred while executing this line: [java] E:\Projects\JSF_Build\releng.wtpbuilder\components\jsf\customTargets.xml:15: The following error occurred while executing this line: [java] C:\nmd\dev\build-home\org.eclipse.releng.basebuilder\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:77: org.eclipse.core.runtime.CoreException: Unable to find feature: org.eclipse.jsf.
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng




_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng





Back to the top