This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 163930 - Create an ANT script for transforming BPEL extensions
Summary: Create an ANT script for transforming BPEL extensions
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ alexpetrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 15:29 UTC by Nikita Krjukov
Modified: 2009-12-04 10:45 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screen shot (15.28 KB, image/png)
2009-09-18 22:53 UTC, _ alexpetrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Krjukov 2009-04-28 15:29:47 UTC
The format of BPEL extensions related, which are used by BPEL mapper, has changed. 
You can find a bit more details in issue #161688. The fix of the issue provides 
transformation of single BPEL file and can be called from NetBeans. 

It's necessary to provide a way of doing transformation from command line and for multiple files. 

It's suggested to use ANT.
Comment 1 _ alexpetrov 2009-09-18 22:53:08 UTC
Fixed: http://hg-soabi.stc.com/gfesbv22/rev/30867394c3c3

Now after building of the module "bpel.core" the directory "soa2/ant/converter" of NetBeans will contains the following
files:
- bpelConversion.xsl
- deleteOldExt.xsl
- ConverterObsoleteBPELExtensions.jar

The JAR "ConverterObsoleteBPELExtensions.jar" is a required transformation tool.

Usage: java -jar ConverterObsoleteBPELExtensions.jar <BPEL file/BPEL project>

A window with a tree of BPEL files and two buttons will appear (see an attached screen shot) and user will be able to
convert obsolete BPEL extensions or remove them from a selected BPEL file(-s).
Before a transformation a new backup copy of each selected BPEL files will be created.
Comment 2 _ alexpetrov 2009-09-18 22:53:55 UTC
Created attachment 87943 [details]
screen shot
Comment 3 _ alexpetrov 2009-10-21 17:28:17 UTC
Fix for this issue has been modified: http://hg-soabi.stc.com/gfesbv22/rev/e4c6e322ba4a

Now a required transformation tool is included into "org-netbeans-modules-bpel-core.jar", located in the directory
"netbeans/soa2/modules".

Usage: java -jar org-netbeans-modules-bpel-core.jar <BPEL file/BPEL project>

A window with a tree of BPEL files and two buttons will appear (see an attached screen shot) and user will be able to
convert obsolete BPEL extensions or remove them from a selected BPEL file(-s).
Before a transformation a new backup copy of each selected BPEL files will be created.
Comment 4 _ alexpetrov 2009-12-03 14:27:56 UTC
Command line, which should be used for launching of Transformation Tool, was changed.

Unix:
java -cp org-netbeans-modules-bpel-core.jar:../../ide11/modules/org-netbeans-api-xml.jar:../../platform10/modules/org-openide-nodes.jar:../../platform10/lib/org-openide-util.jar org.netbeans.modules.bpel.core.compatibility.converter.ConverterObsoleteBPELExtensions <BPEL file> or <BPEL folder>

Windows:
java -cp org-netbeans-modules-bpel-core.jar;../../ide11/modules/org-netbeans-api-xml.jar;../../platform10/modules/org-openide-nodes.jar;../../platform10/lib/org-openide-util.jar org.netbeans.modules.bpel.core.compatibility.converter.ConverterObsoleteBPELExtensions <BPEL file> or <BPEL folder>

The appropriate help message, which will appear if Transformation Tool is launched without parameters, was updated:
- gfesbv22: http://hg-soabi.stc.com/gfesbv22/rev/09e7027b6670
- gfesbv23: http://hg-soabi.stc.com/gfesbv23/rev/bfff756b0e6d
Comment 5 Alexander Permyakov 2009-12-04 10:45:23 UTC
verified