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 88694

Summary: Enable/Disable security makes project unusable in clear netbeans
Product: serverplugins Reporter: Martin Grebac <mgrebac>
Component: IdentityAssignee: Peter Liu <petertliu>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89517    

Description Martin Grebac 2006-11-06 11:18:47 UTC
Install NB with Entpack
Install NB

Run NB with Entpack, create web project, create web service, select AM security
chbox in Edit WS attributes

Press ok, go to the same window again, deselect the checkbox, press ok, close NB

Open the project you created in NB without entpack and try to rebuild and
redeploy. You get build failures mentioning missing am-deploy ant task definition.
Comment 1 Srividhya Narayanan 2006-11-06 18:23:16 UTC
This has to do with diable security not leaving the project in the same state as
completely diabled from AM dependency. One way to approach this is to do further
checks in the am-deploy.xml for env where the project exists before invoking the
amdeploy task.
Comment 2 Peter Liu 2007-02-07 23:03:45 UTC
am-deploy.xml has been enhanced to check for the existence of the AMDeploy ant
task and skip invoking it if it doesn't exist.

Comment 3 Martin Grebac 2007-04-03 15:57:58 UTC
v