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 61314 - Infrastructure for creating apisupport wizards
Summary: Infrastructure for creating apisupport wizards
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 20:52 UTC by Jesse Glick
Modified: 2005-09-05 09:51 UTC (History)
2 users (show)

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 Jesse Glick 2005-07-22 20:52:13 UTC
Should keep track of files you are creating/modifying, help perform common
operations such as adding layer entries or bundle keys, etc.
Comment 1 Martin Krauskopf 2005-07-26 00:13:24 UTC
I've checked in an initial version. Only methods with javadoc are implemented.
Please (probably mainly you Radku) speak up if you want to use an 'API' in other
way. It is open. See javadoc and/or CreatedModifiedFilesTest for how to used it.

Checking in CreatedModifiedFiles.java; new 1.1
Checking in test/CreatedModifiedFilesTest.java; new 1.1

Also I hope that an implementation of the rest of methods should come relatively
soon.
Comment 2 Martin Krauskopf 2005-07-27 23:46:39 UTC
Initial version is done. You can start to use it. There are surely some bugs
which weren't covered by tests. Also there is not usage of
FileSystem.AtomicAction, ProjectManager.mutex() or similar techniques. It has to
be considered. Or it will just be implemented as it will be needed. So you
should just need to use
org.netbeans.modules.apisupport.project.CreatedModifiedFiles. See its javadoc or
(may be better) CreatedModifiedFilesTest where is usage obvious.

Let's close this and file new bugs when something doesn't work as expected (or
at all)