« Return to Thread: Error Building/Installing BPEL Modules NB6.1.
Hi Karthik,I have finally managed to build the soa cluster (under Mac OS X) as follows:1. I installed Mercurial 0.9.5 (not 1.0),2. hg clone http://hg.netbeans.org/main,3. export ANT_OPTS="-Xmx196m",4. create in the main/ folder the file ./nbbuild/user.build.properties with thefollowing lines:_________________________________________________________________nbjdk.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Homebuild.compiler=extJavacjavac.compilerargs=-J-Xmx512mcluster.config=soa_________________________________________________________________5. ant -f nbbuild/build.xmlAt this point "ant" failed I think due to the fact that it tried to download some more packagesand I did not have my proxy configured, so6. export http_proxy=http://...7. edit the main/.hg/hgrc file and leave only the following lines:_________________________________________________________________[paths]default = http://hg.netbeans.org/main_________________________________________________________________as suggested by (Caoyuan's Blog: http://blogtrader.net/page/dcaoyuan/entry/working_with_netbeans_mercurial_repository)and finally:8. ant -f nbbuild/build.xml.This time it succeeded.Although I was able to build the soa cluster from command line, I would like to use the NB editor to add BPEL modules "in target platform"so I can "debug" them in order to understand how they work. I still *can't* do this due to the "incorrect platform" message.Do you have any idea on how I can do that?Thanks again,razvan.On 7 May 2008, at 18:16, Karthik wrote:JHIndexer class itself should be in the workspace at:
nbbuild/antsrc/org/netbeans/nbbuild/JHIndexer.java
The compiled class is put in nbbuild/./nbantext.jar. It looks like nbantext.jar is somehow not being located in the classpath.
Can you try running ant in verbose (or debug) mode (Tools | Options | Miscellaneous | Ant | Verbosity Level) and see if the output has any clues.
regards,
karthik
Razvan Popescu wrote:Hello All,
I have tried to build the NB6.1 BPEL modules yet I got the following error:_______________________________________________________________________________________________init-tasks:/Users/raz/NetBeansProjects/main/nbbuild/default.xml:50: taskdef class org.netbeans.nbbuild.JHIndexer cannot be foundBUILD FAILED (total time: 0 seconds)_______________________________________________________________________________________________
I have followed the steps below -- both on Mac OS X and Windows, using Java 1.5:
1. Download latest NB 6.1 sources using Mercurial from http://hg.netbeans.org/main.
2. Open the 15 BPEL projects in the NB6.1 IDE (2.1 together with the required projects, and 2.2. without the required projects).
3. Install/Reload in Target Platform, or simply Build or Clean and Build.
Step 3 always fails with the above error.
Looking at the module dependencies e.g., for the BPEL module I get the following error message (in red):_______________________________________________________________________________________________<Invalid Platform is Selected (Cannot List Module Dependencies)> _______________________________________________________________________________________________
I have also attached a picture showing the error message.
Does anyone have any idea about why I get this error, and/or does anyone know how I can successfully build the NB6.1 modules using NB6.1?
Thanks a lot,razvan.
<mime-attachment.jpeg>
« Return to Thread: Error Building/Installing BPEL Modules NB6.1.
| Free Forum Powered by Nabble | Forum Help |