« Return to Thread: Error Building/Installing BPEL Modules NB6.1.

Re: Error Building/Installing BPEL Modules NB6.1.

by Razvan Popescu :: Rate this Message:

Reply to Author | View in Thread

Hello again, 

I can build the BPEL modules using NB now. Ant must have 
resolved the platform/dependency issues. (Before running 
Ant to build the SOA cluster I could not use NB to build/run 
in target platform the BPEL modules.) 

However, when I try to "install in target platform" I get a 
stackOverflowException. 

razvan. 


On 8 May 2008, at 00:07, Razvan Popescu wrote:

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), 


3. export ANT_OPTS="-Xmx196m", 

4. create in the main/ folder the file ./nbbuild/user.build.properties with the 
following lines: 
_________________________________________________________________
nbjdk.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
build.compiler=extJavac
javac.compilerargs=-J-Xmx512m
cluster.config=soa
_________________________________________________________________

5. ant -f nbbuild/build.xml 

At this point "ant" failed I think due to the fact that it tried to download some more packages 
and I did not have my proxy configured, so 

6. export http_proxy=http://... 

7. edit the main/.hg/hgrc file and leave only the following lines: 
_________________________________________________________________
[paths]
_________________________________________________________________


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 found
BUILD 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.