Re: Call for defaults.properties maintanance...

2003-03-31 Thread Erik Hatcher
On Monday, March 31, 2003, at 12:06  PM, Steve Loughran wrote:
that reminds me, we need a way in xdocs of telling xdoclet to not list 
tasks, else it pulls in these intermediate classes too.
This is already part of it.  @ant.task ignore="true"
Erik


Re: Call for defaults.properties maintanance...

2003-03-31 Thread Steve Loughran
Stefan Bodewig wrote:
On Mon, 31 Mar 2003, Christoph Wilhelms
<[EMAIL PROTECTED]> wrote:

To solve this topic I'd like to clearify here which of the listed
elements should be listed in the defaults.properties

Almost all of them are base classes that should not be listed or
utterly, totally deprected and removed task - the classes are still
there for people who may have used the API directly.

that reminds me, we need a way in xdocs of telling xdoclet to not list 
tasks, else it pulls in these intermediate classes too.



RE: Call for defaults.properties maintanance...

2003-03-31 Thread Christoph Wilhelms
Hi Stefan and all!

> > To solve this topic I'd like to clearify here which of the listed
> > elements should be listed in the defaults.properties
> 
> Almost all of them are base classes that should not be listed or
> utterly, totally deprected and removed task - the classes are still
> there for people who may have used the API directly.
> 
> I think there is nothing listed, that should be in the properties
> files.  The gory details:

So I am glad, that I can rely upon the the actuality of the
defaults.properties! Thanx!

I am currently working on a taskdef/typedef wizard (for ANTidote of course)
and I want to provide "in-the-classpath-findable" Tasks/Types in a list.
I'll simply filter out all found abstact classes... ... and probably all
Types/Tasks in "our" packages, but probably others have reused our
package-structure for their additional classes...!?!

Thoughts? Improvements?

Greetings,
Christoph


Re: Call for defaults.properties maintanance...

2003-03-31 Thread Stefan Bodewig
On Mon, 31 Mar 2003, Christoph Wilhelms
<[EMAIL PROTECTED]> wrote:

> To solve this topic I'd like to clearify here which of the listed
> elements should be listed in the defaults.properties

Almost all of them are base classes that should not be listed or
utterly, totally deprected and removed task - the classes are still
there for people who may have used the API directly.

I think there is nothing listed, that should be in the properties
files.  The gory details:

> found in ant.jar: org/apache/tools/ant/taskdefs/Exec.class Task
> found in ant.jar: org/apache/tools/ant/taskdefs/KeySubst.class Task
> found in ant.jar: org/apache/tools/ant/taskdefs/SendEmail.class Task

old, deprecated, gone.

> ProjectComponent, Task, TaskAdapter, AbstractCvsTask, ConditionBase,
> Definer, JDBCTask, MatchingTask, Pack, Unpack, AbstractFileSet
> DataType, BaseExtendSelector, BaseSelector, BaseSelectorContainer,
> CCMCheck, Continuus, ClearCase, DotnetCompile, AbstractMetamataTask,
> SOS, AbstractAccessTask, MSVSS, ImplementationSpecificArgument

base classes, not standalone (I think starbase.TreeBasedTask should
have been on your list as well 8-)

> UnknownElement

internal API part.

Stefan


Call for defaults.properties maintanance...

2003-03-31 Thread Christoph Wilhelms
Hi all!

I am still improving ANTidote and as I am developing better
Task/Type-Element-support I came over this topic.

As you might know ANTidote as well as the NetBeans-Ant-integration uses the
defaults.properties in the packages taskdefs and types to introspect an
initial amount of tasks and types aswell as nested elements of these as far
as they are determinable by the IntrospectionHelper class.

To get further information on how complete these .properties-files are I
wrote a little classpath-scanner to determine the unlisted types, tasks (and
ProjectComponents rather optionally). 

To solve this topic I'd like to clearify here which of the listed elements
should be listed in the defaults.properties (for I know that there are quite
some abstract classes amongst them, I would not add).

Additionally I'd like the update for the .properties to happen for 1.5.3 - I
think this would make the NetBeans-Guys happy aswell!

Greetings,
Christoph


org/apache/tools/ant/taskdefs/defaults.properties
org/apache/tools/ant/types/defaults.properties

Neither listed in one of the above defaults.properties nor sub-element of
listed elemetnts:

ProjectComponent found in ant.jar:
org/apache/tools/ant/ProjectComponent.class
Task found in ant.jar: org/apache/tools/ant/Task.class
Task found in ant.jar: org/apache/tools/ant/TaskAdapter.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/AbstractCvsTask.class
ProjectComponent found in ant.jar:
org/apache/tools/ant/taskdefs/condition/ConditionBase.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/Definer.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/Exec.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/JDBCTask.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/KeySubst.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/MatchingTask.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/Pack.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/SendEmail.class
Task found in ant.jar: org/apache/tools/ant/taskdefs/Unpack.class
Type found in ant.jar: org/apache/tools/ant/types/AbstractFileSet.class
Type found in ant.jar: org/apache/tools/ant/types/DataType.class
Type found in ant.jar:
org/apache/tools/ant/types/selectors/BaseExtendSelector.class
Type found in ant.jar:
org/apache/tools/ant/types/selectors/BaseSelector.class
Type found in ant.jar:
org/apache/tools/ant/types/selectors/BaseSelectorContainer.class
Task found in ant.jar: org/apache/tools/ant/UnknownElement.class
ProjectComponent found in ant.jar:
org/apache/tools/ant/util/facade/ImplementationSpecificArgument.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/ccm/CCMCheck.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/ccm/Continuus.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/sos/SOS.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.class
Task found in optional.jar:
org/apache/tools/ant/taskdefs/optional/vss/MSVSS.class

(Remark: The optional.jar here is out of date... The ant.jar may not be head
revision aswell... I'll send an update with the correct content tonight!)