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 104306

Summary: Add new AntArtifact type to API
Product: javaee Reporter: Vince Kraemer <vkraemer>
Component: CodeAssignee: apireviews <apireviews>
Status: RESOLVED INVALID    
Severity: blocker Keywords: API_REVIEW_FAST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 96848    
Attachments: the proposed change
a newer patch with corrected apichange.xml content.
new patch. corrected mimetype

Description Vince Kraemer 2007-05-18 19:02:56 UTC
directory deployment needs to know where the build directory is for a web
project to copy the changed bits to the right location for directory based
deployment of ear files.

This change will provide that API.
Comment 1 Vince Kraemer 2007-05-18 19:07:01 UTC
Created attachment 42544 [details]
the proposed change
Comment 2 Vince Kraemer 2007-05-18 19:20:21 UTC
Created attachment 42547 [details]
a newer patch with corrected apichange.xml content.
Comment 3 Vince Kraemer 2007-05-18 19:21:25 UTC
Created attachment 42548 [details]
new patch. corrected mimetype
Comment 4 Milos Kleint 2007-05-19 06:03:05 UTC
MK1: deployment shall not be dependent on AntArtifact. That will effectively
prohibit deployment of maven-based projects that don't provide AntArtifact
instances (for obvious reasons)

anything related to project deployment shall be part of the
org.netbeans.modules.j2ee.deployment.devmodules.spi/api packages and implemented
by the project types.
Comment 5 Vince Kraemer 2007-05-19 16:26:02 UTC
re: MK1

The earproject has always been dependent on the AntArtifact of its subprojects.
The current ant artifacts are used by the build process.  This NEW artifact is
used in a similar fashion.

The AntArtifact is not referenced by the code in the plugin.
Comment 6 Milos Kleint 2007-05-19 17:58:54 UTC
ok, misunderstanding on my side. 
As long as j2eeserver module (or any of the server plugins) doesn't reference
any AntArtifact stuff I'm fine with it.
Comment 7 Vince Kraemer 2007-06-13 15:50:20 UTC
turned out to be unnecessary