Skip to main content

BPEL Validation Errors in NetBeans 5.5.1

I‘ve recently updated my production NetBeans 5.5 environment to NetBeans 5.5.1 and have been having some issues with BPEL modules.

If I create a BPEL module in NB 5.5, everything works as expected, however if I try to build the same codebase on NB 5.5.1, I get the following error.

Interestingly enough, I get the same problem with NB 6 M10

<target name="pre-dist"> 
09-Jul-2007 13:08:44  
org.netbeans.modules.bpel.project.anttasks.IDEValidateBPELProject 
loadAndValidateExistingBusinessProcess 
SEVERE: Validation has errors on /home/david/NetBeansProjects/EchoBPEL/src/EchoProcess.bpel 
Error Message -  
org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory.getSchemaSource() 
Ljavax/xml/transform/Source; 
09-Jul-2007 13:08:44  
org.netbeans.modules.bpel.project.anttasks.IDEValidateBPELProject  
loadAndValidateExistingBusinessProcess 
SEVERE:  
org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory.getSchemaSource() 
Ljavax/xml/transform/Source; 
/home/david/NetBeansProjects/EchoCompositeApp/nbproject/build-impl.xml:104:  
The following error occurred while executing this line: 
/home/david/NetBeansProjects/EchoBPEL/nbproject/build-impl.xml:155:  
java.lang.AbstractMethodError:  
org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory. 
getSchemaSource()Ljavax/xml/transform/Source; BUILD FAILED (total time: 0 seconds)

Does anyone else have this problem? The workaround I have found at the moment is to comment out the BPEL validation code in the ant script (build-impl.xml line 155) as follows:

<target name="pre-dist"> 
        <!-- Empty placeholder for easier customization. -->
  
        <!-- You can override this target in the ../build.xml file. -->
        <mkdir dir="${build.dir}"/> 
        <!-- run the validation task here. -->
<!– 
        <BpelProjectValidate buildDirectory=”${basedir}/${build.dir}” 
        sourceDirectory=”${basedir}/${src.dir}” 
        projectClassPath=”${javac.classpath}” 
        buildDependentProjectDir=”${basedir}/${build.dir}/dependentProjectFiles” 
        classpathRef=”ant.task.classpath.validation”  
        allowBuildWithError=”${allow.build.with.error}”/> 
–>

Comments

Popular posts from this blog

A Simple Makefile for a GTK/GTKMM Project

When compiling small applications, its fairly easy just to compile using g++ from the command line. If you’re compiling anything more complex than a single file, its probably easier to use a Makefile. This example Makefile demonstrates how to compile an application that uses the GTKMM library. NAME=my-app CFLAGS=-g -Wall -o $(NAME) GTKFLAGS=`pkg-config --cflags --libs gtkmm-3.0` SRCS=main.cc myapp.cc CC=g++ # Do all all: main # Compile main: $(SRCS) $(CC) $(CFLAGS) $(SRCS) $(GTKFLAGS) # Clean clean: rm -f $(NAME) rm -f *.h~ rm -f *.cc~ rm -f Makefile~ rm -f *.glade~

Changing Default Search Provider in Firefox on Linux Mint

On Linux Mint, the default version of Firefox is installed and configured to allow the following search engines to be queried directly from the address bar: Yahoo! Startpage DuckDuckGo Wikipedia Mint defines these as the default available set of search engines based upon 3 criteria (funding to Linux Mint, privacy support and whether the search engine is non-commercial). Other search engines such as Google, Bing or Twitter, etc. can easily be added into the default version of Firefox however. To add a different search provider, browse to Search Engines At the bottom of the page, click on the icon of the requested search engine, then click on the ... button in the URL bar and select the Add Search Engine option. You then have the option to change the default search engine within Firefox preferences to your new choice.

Eclipse releases Ganymede

The Eclipse Foundation has  released  Ganymede, the latest annual release this time containing 23 Eclipse projects including the Eclipse IDE version 3.4. This latest version of the annual Eclipse release contains many new features including: Equinox P2  - a system to make installations and updated to Eclipse easier JSDT  - A new JavaScript editor Improved JavaScript support for the Business Intelligence and Reporting Tools,  BIRT Graphical database query tools Improved support for Java EE 5 SOA support and many other features. Further information, inclusing webinars and demos can be found on the  project website  . This new release can be downloaded from the  Eclipse web site  .