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 179702 - Build Procedure works incorrectly with local referenced resources in some cases
Summary: Build Procedure works incorrectly with local referenced resources in some cases
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-20 06:54 UTC by Vitaly Bychkov
Modified: 2010-11-16 12:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample BPEL project (70.47 KB, application/zip)
2010-01-20 06:54 UTC, Vitaly Bychkov
Details
Test projects (35.44 KB, application/zip)
2010-01-22 05:04 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Bychkov 2010-01-20 06:54:55 UTC
Created attachment 93428 [details]
Sample BPEL project

Build Procedure incorrectly work with local referenced resources in some cases.
In case referenced resource is local i.e. located on the same file system and is not placed in any netbeans project then BPEL project build procedure ignores that referenced resource and work with them as with usual resource. 
As a result the project can't be moved/deployed on another filesystem.

Steps to reproduce:

1. open projects from attachment.
2. clean and build <BPEL Project> - there is no validation errors
3. clean and build Composite Application project - see there is validation errors
regarding broken import location onto "file:/C:/Documents%20and%20Settings/ddelfueyo/Escritorio/Servicios%20Web/externalCalculator.wsdl"
4. Take a look at <Bpel Project>/build/META-INF/catalog.xml - it is emty i.e. the refernced resource is missed and resulted Bpel SU knows just direct location.
Comment 1 Sergey Lunegov 2010-01-20 07:01:46 UTC
changed target milestone
Comment 2 Vitaly Bychkov 2010-01-20 07:29:35 UTC
There is workaround - use Netbeans project to store resources inside instead
raw local folder.
Comment 3 Vladimir Yaroslavskiy 2010-01-22 05:04:01 UTC
Created attachment 93484 [details]
Test projects
Comment 4 Vladimir Yaroslavskiy 2010-01-22 05:14:30 UTC
fixed in gfesb23: b10aa0453dcb

Entry to the resource is added to META-INF/catalog.xml, clean and build of BPEL and Composite Application project is successful, but deployment has error, see issue #179784
Comment 5 Vladimir Yaroslavskiy 2010-01-22 05:19:26 UTC
Clean and Build of original project SimpleCalculator_CASA has error:
you must delete all files under SimpleCalculator_CASA\src\jbiasa\SimpleCalculator_BPEL and readd SimpleCalculator_BPEL as JBI module - after that the Clean and Build action is successful.
Comment 6 Vladimir Yaroslavskiy 2010-01-25 06:31:20 UTC
fixed in gfesb22: f1ea0eabeda0
Comment 7 senthilprabhu 2010-11-16 12:49:05 UTC
The attached Sample BPEL Project builds fine after performing the steps listed below.

This is verified to work correctly in CAPS 63 M5 build (20101103-1248).
This issue can be closed.