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 27580 - Integrate Ant module into the new projects
Summary: Integrate Ant module into the new projects
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks: 26422 27535
  Show dependency tree
 
Reported: 2002-09-25 14:45 UTC by Pavel Buzek
Modified: 2003-12-11 14:18 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2002-09-25 14:45:19 UTC
The new projects present their own build system with support for dependency management. It 
is possible to integrate Ant scripts and targets into this build system to allow things 
like:
- set ant script as a default build target for a project
- allow netbeans build targets to depend on ant targets
etc.

A preliminary proposal is available at:
http://projects.netbeans.org/proposals/antintegration/AntIntegration.html
Comment 1 Jesse Glick 2002-09-29 15:39:31 UTC
Q&A in the proposal implies that IndirectAntCompilerType should be
deleted. Is it true?
Comment 2 David Konecny 2002-09-30 11:42:16 UTC
I would say yes. Do you see any problems with that?
Comment 3 Jesse Glick 2002-10-02 20:20:58 UTC
Not really. I've wanted to delete it more or less since the time I
made it. :-) The use cases for AntCompilerType and AntExecutor should
probably be reviewed as well. AntCompilerType will probably not make
sense under new projects generally, assuming there is some way of
making an Ant target be run as a project target. AntExecutor might
still be useful for implementing the option of VM-external Ant
(.sh/.bat launcher) in the future, as this is a common user request.
Comment 4 David Konecny 2002-10-03 08:53:16 UTC
Yes, AntCompilerType might not make sense as well.
Comment 5 David Konecny 2003-01-31 15:52:29 UTC
Here is the summary of what I did. I tagged Ant source in main trunk
with "ant_projects_integration_root" tag and branched it to
prj40_prototype branch. On the branch was created new submodule
ant/projects which integrate Ant into projects. The module basic
functionality is working. It required extension of the Ant APIs. This
change was done as issue 24507 and was integrated into main trunk. The
sources on the branch were tagged as "ant_merge_into_trunk_20030127"
after the integration.

What remains to do:
* the implementation is not scrictly according to UI spec, so it might
need some polishing.
* IndirectAntCompilerType and AntCompilerType should be deleted
* AntExecution should be delete as well. The project has concept of
profiles and there is execution profile for Ant provided by
ant/projects module which replaces the AntExecution.
(I personally would not hurry with the removal)

Reassigning issue to new owner.
Comment 6 Jesse Glick 2003-11-18 16:55:39 UTC
Won't fix in this way.