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 134736 - DnD of WSDLs, XSDs, EJBs on diagrams should not create copy but reference instead
Summary: DnD of WSDLs, XSDs, EJBs on diagrams should not create copy but reference ins...
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks: 134608
  Show dependency tree
 
Reported: 2008-05-08 13:58 UTC by Sergey Lunegov
Modified: 2008-10-20 02:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Lunegov 2008-05-08 13:58:23 UTC
When user DnD WSDL or XSD on diagram (WSDL visual editor, BPEL, XSLT transformmap etc) from different project there are
2 actions:
- creating (if doesn't already exist) of project reference
- processing of drop in every particular project

The first action should be moved to common infrastructure.
Comment 1 Sergey Lunegov 2008-05-08 13:59:26 UTC
Added to project references umbrella.
Comment 2 Sergey Lunegov 2008-05-08 14:25:48 UTC
Also not to forget about EJBs.
Comment 3 Vladimir Yaroslavskiy 2008-05-20 09:08:39 UTC
From discussion with Alexey Yarmolenko:

DnD (WSDL, schema, EJB):
  - not copy
  + add ref
      artifact from a project: add dependency if needed
      URL: add to catalog.xml
drop:
  node: -> lookup -> FileObject -> project
  URL: EJB -> node -> lookup -> FileObject -> project
Comment 4 Vladimir Yaroslavskiy 2008-07-24 14:25:17 UTC
implemented.
Comment 5 rpoon 2008-10-16 22:50:42 UTC
Verified with build: \\thumper\50builds\gfesb\v2\nightly\20081015-1408

Verified that User now able to DnD and XML file (Schema XSD/WSDL) from BPEL to another BPEL or EJB project (make use 
of 'Project Reference'). Once user either DaD or move via refactoring, it now automatically recreate a reference in the 
original project to the new location in the new project where the XML file is moved.

However, there are some issues found with the DnD and Undo-move (via refactoring) - also see ticket IZ-150439

This was verified for GFESB.  However, this still has NOT beem implemented in NB6.5 (RC1).
Comment 6 rpoon 2008-10-17 00:28:19 UTC
Correction from the note below.  The Refactor move is implemented for XSD file only.  When moving WSDL file, there is 
NO refactor takes place.  Once the WSDL is move to a different project, the original project (that uses the WSDL file) 
will failed to build.

In addition, there is still a problem with move (DaD) of XSD file.  Currently with the indicated build (NB 6.5 RC1), 
once the XSD file is moved, it cannot be moved back (see IZ-150455).

Verified that this problem only exists in the NB65 RC1 build and is NOT a problem with GFESB build.  
Comment 7 Sergey Lunegov 2008-10-17 06:51:52 UTC
And it will not be implemented in NB 6.5. I close this feature as FIXED since we have 150439.
Comment 8 rpoon 2008-10-20 02:56:38 UTC
See slunegov comment.