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 76109 - Exceptions during importing existing EA
Summary: Exceptions during importing existing EA
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 16:00 UTC by Martin Krauskopf
Modified: 2006-08-02 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2006-05-09 16:00:27 UTC
1) Create EA with NB containing Web, EJB and AC
2) "Strip" NB metadata - nbproject dirs and also (optionally?) build.xml
3) Try to import that application

Bunch of exceptions is thrown. Remainder for me after I establish issue 73758
(maybe will fix it together)
Comment 1 Martin Krauskopf 2006-05-09 16:01:59 UTC
Ups, I thought bugs are automatically assigned to me since this morning :)
Reassigning.
Comment 2 Martin Krauskopf 2006-05-09 16:30:37 UTC
Such a project cannot be imported even in the 5.0. I'll be working on it
simultaneously with issue 73758.
Comment 3 Martin Krauskopf 2006-05-10 11:27:13 UTC
See commit below. The scenario is probably too artifical. Adding test and
lowering to P4 until some real-case problem appears. I'll check the rest later.

====
Commit:

Seems that #76109 is not so serious (probably some problem with ProjectManager
  caching?)
- ability to pass custom lookup content for tests which needs to work with the
  server instance (TestUtil)
- ability to write tests with ejb modules
- ImportBlueprintEarWizardIteratorTest.testableInstantiate()
- some minors

earproject/test/unit/ui/wizards/ImportBlueprintEarWizardIteratorTest.java; new;
j2ee/earproject/nbproject/project.properties previous 1.7.16.3.2.7 -> 1.7.16.3.2.8;
earproject/test/unit/test/TestUtil.java; 1.1.2.2 -> 1.1.2.3;
earproject/ui/wizards/ImportBlueprintEarWizardIterator.java; 1.9.36.2 -> 1.9.36.3;
====

Comment 4 Martin Krauskopf 2006-08-02 14:42:25 UTC
A lot of work was done in this area. Also scenario works wihtout any problem now.