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 152659 - Bug in build result output
Summary: Bug in build result output
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 11:06 UTC by ingebrigt_berg
Modified: 2008-11-07 14:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project (9.93 KB, application/x-compressed)
2008-11-07 14:05 UTC, Vladimir Yaroslavskiy
Details
Test project: UPDATE (9.73 KB, application/x-compressed)
2008-11-07 14:31 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ingebrigt_berg 2008-11-07 11:06:21 UTC
When I build a BPEL project, and there is a validation error in something the BPEL references (such as an xsd or 
wsdl), the build will fail (as it should). But the error message in the build.xml output has a bug. 

The output contains an error message and also a url-reference to the error. The reference has the correct line and 
character number, but it references the .bpel file. Not the depedent resource where the error actually is located, 
like it should. 

To reproduce: 
-take a working BPEL project 
-on purpose, make an error in a xsd or wsdl used in the project 
-build 
-click on the link in the output, and you arrive in the bpel, not where the error you made is. 

Btw, if the xsd/wsdl is validated independently (without building the full project), the build output will report the 
error correctly. 

I'm using the NetBeans 20080919 build.
Comment 1 Vladimir Yaroslavskiy 2008-11-07 11:42:31 UTC
fixed:
http://hg.netbeans.org/soa-dev/rev/b2b8c5beb556, bbe83e06e5e9
hg.netbeans.org/soarelease/rev/549509fdb8b9
Comment 2 Vladimir Yaroslavskiy 2008-11-07 11:45:15 UTC
steps to verify:

1. Open attached Synchronous project
2. Invoke "Clean and Build"
3. Check that errors point to Synchronous.wsdl file, not bpel.
Comment 3 Vladimir Yaroslavskiy 2008-11-07 11:59:49 UTC
P3 -> P2: user will be confused because navigation is wrong
Comment 4 Vladimir Yaroslavskiy 2008-11-07 14:05:55 UTC
Created attachment 73471 [details]
Test project
Comment 6 Vladimir Yaroslavskiy 2008-11-07 14:31:55 UTC
Created attachment 73473 [details]
Test project: UPDATE