|
List Info
Thread: Inclusion of NetBeans project metadata in source tree?
|
|
| Inclusion of NetBeans project metadata
in source tree? |
  United States |
2007-10-05 10:56:31 |
I don't recall any previous discussion of whether
IDE-specific metadata
are wanted/permitted in the source tree. I have been
privately
maintaining a NetBeans "freeform" project setup
for Ant which ties into
the build script in various ways and offers easier and more
precise
development of Ant from the IDE. For example, you can ask to
debug a
single test case and it will run the right target (with the
right
parameter) from build.xml and connect it to the IDE's
debugger. Since
Ant's own build.xml is not in general runnable by the last
official
release, it uses a wrapper script to do some bootstrapping
and other
preparation.
Currently I just keep this in a separate directory structure
so as to
keep my svn checkout clean, and refer to the checkout via an
external
path. But if there are others who might want to use the same
IDE on Ant
it seems a waste for them to not get the same project setup.
Distributing the metadata separately is awkward (especially
if targets
in build.xml change) and few people would find it.
Could/should this metadata be put in the Ant source tree
somewhere? It
is a directory "nbproject" with a few files (no
changes to other files
are needed). If at top level, you would be able to open the
top source
dir as a NB project; if under e.g. src/etc/ you would need
to know to
open that parent dir instead. I would need to do some
cleanup to test
that all pieces still work (some I wrote months or even
years ago) and
to ensure that all absolute paths or other per-user
configuration could
be loaded from an svn-ignorable user.properties file.
-J.
--
jesse.glick sun.com netbeans.org ant.apache.org
hudson.dev.java.net
http://
google.com/search?q=e%5E%28pi*i%29%2B1
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
|
| Re: Inclusion of NetBeans project
metadata in source tree? |

|
2007-10-05 11:19:27 |
On 10/5/07, Jesse Glick <jesse.glick sun.com> wrote:
> I don't recall any previous discussion of whether
IDE-specific metadata
> are wanted/permitted in the source tree. I have been
privately
> maintaining a NetBeans "freeform" project
setup for Ant which ties into
> the build script in various ways and offers easier and
more precise
> development of Ant from the IDE. For example, you can
ask to debug a
> single test case and it will run the right target (with
the right
> parameter) from build.xml and connect it to the IDE's
debugger. Since
> Ant's own build.xml is not in general runnable by the
last official
> release, it uses a wrapper script to do some
bootstrapping and other
> preparation.
This sounds like a great idea.
>
> Currently I just keep this in a separate directory
structure so as to
> keep my svn checkout clean, and refer to the checkout
via an external
> path. But if there are others who might want to use the
same IDE on Ant
> it seems a waste for them to not get the same project
setup.
> Distributing the metadata separately is awkward
(especially if targets
> in build.xml change) and few people would find it.
>
> Could/should this metadata be put in the Ant source
tree somewhere? It
> is a directory "nbproject" with a few files
(no changes to other files
> are needed). If at top level, you would be able to open
the top source
> dir as a NB project; if under e.g. src/etc/ you would
need to know to
> open that parent dir instead. I would need to do some
cleanup to test
> that all pieces still work (some I wrote months or even
years ago) and
> to ensure that all absolute paths or other per-user
configuration could
> be loaded from an svn-ignorable user.properties file.
We could invite patchs for eclipse and intellij
and others.
Peter
>
> -J.
>
> --
> jesse.glick sun.com netbeans.org ant.apache.org
hudson.dev.java.net
> http://
google.com/search?q=e%5E%28pi*i%29%2B1
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
> For additional commands, e-mail: dev-help ant.apache.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
|
| Re: Inclusion of NetBeans project
metadata in source tree? |

|
2007-10-05 11:48:56 |
On 10/5/07, Jesse Glick <jesse.glick sun.com> wrote:
> I don't recall any previous discussion of whether
IDE-specific metadata
> are wanted/permitted in the source tree. I have been
privately
> maintaining a NetBeans "freeform" project
setup for Ant which ties into
> the build script in various ways and offers easier and
more precise
> development of Ant from the IDE. For example, you can
ask to debug a
> single test case and it will run the right target (with
the right
> parameter) from build.xml and connect it to the IDE's
debugger. Since
> Ant's own build.xml is not in general runnable by the
last official
> release, it uses a wrapper script to do some
bootstrapping and other
> preparation.
I also think it's a good idea, but only if it's kept
up-to-date
> Currently I just keep this in a separate directory
structure so as to
> keep my svn checkout clean, and refer to the checkout
via an external
> path. But if there are others who might want to use the
same IDE on Ant
> it seems a waste for them to not get the same project
setup.
> Distributing the metadata separately is awkward
(especially if targets
> in build.xml change) and few people would find it.
>
> Could/should this metadata be put in the Ant source
tree somewhere? It
> is a directory "nbproject" with a few files
(no changes to other files
> are needed). If at top level, you would be able to open
the top source
> dir as a NB project; if under e.g. src/etc/ you would
need to know to
> open that parent dir instead. I would need to do some
cleanup to test
> that all pieces still work (some I wrote months or even
years ago) and
> to ensure that all absolute paths or other per-user
configuration could
> be loaded from an svn-ignorable user.properties file.
I think the top-level Ant dir is a bit cluttered already, so
adding
too many additional files might not be a good idea, unless
you can
have just one or two files in the top-level dir, and the
rest
somewhere else.
But "nbproject" is not explicit enough a name
IMHO. Rather use
netbeans explicitly. --DD
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
|
| Re: Inclusion of NetBeans project
metadata in source tree? |

|
2007-10-05 11:52:11 |
On 10/5/07, Dominique Devienne <ddevienne gmail.com> wrote:
> On 10/5/07, Jesse Glick <jesse.glick sun.com> wrote:
> > I don't recall any previous discussion of whether
IDE-specific metadata
> > are wanted/permitted in the source tree. I have
been privately
> > maintaining a NetBeans "freeform"
project setup for Ant which ties into
> > the build script in various ways and offers easier
and more precise
> > development of Ant from the IDE. For example, you
can ask to debug a
> > single test case and it will run the right target
(with the right
> > parameter) from build.xml and connect it to the
IDE's debugger. Since
> > Ant's own build.xml is not in general runnable by
the last official
> > release, it uses a wrapper script to do some
bootstrapping and other
> > preparation.
>
> I also think it's a good idea, but only if it's kept
up-to-date
>
> > Currently I just keep this in a separate directory
structure so as to
> > keep my svn checkout clean, and refer to the
checkout via an external
> > path. But if there are others who might want to
use the same IDE on Ant
> > it seems a waste for them to not get the same
project setup.
> > Distributing the metadata separately is awkward
(especially if targets
> > in build.xml change) and few people would find
it.
> >
> > Could/should this metadata be put in the Ant
source tree somewhere? It
> > is a directory "nbproject" with a few
files (no changes to other files
> > are needed). If at top level, you would be able to
open the top source
> > dir as a NB project; if under e.g. src/etc/ you
would need to know to
> > open that parent dir instead. I would need to do
some cleanup to test
> > that all pieces still work (some I wrote months or
even years ago) and
> > to ensure that all absolute paths or other
per-user configuration could
> > be loaded from an svn-ignorable user.properties
file.
>
> I think the top-level Ant dir is a bit cluttered
already, so adding
> too many additional files might not be a good idea,
unless you can
> have just one or two files in the top-level dir, and
the rest
> somewhere else.
I think that there is only one directory added.
>
> But "nbproject" is not explicit enough a name
IMHO. Rather use
> netbeans explicitly. --DD
nbproject is the name normally used for netbeans.
Peter
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
> For additional commands, e-mail: dev-help ant.apache.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
|
| Re: Inclusion of NetBeans project
metadata in source tree? |
  United States |
2007-10-08 05:26:51 |
Jesse Glick wrote:
> I don't recall any previous discussion of whether
IDE-specific metadata
> are wanted/permitted in the source tree. I have been
privately
> maintaining a NetBeans "freeform" project
setup for Ant which ties into
> the build script in various ways and offers easier and
more precise
> development of Ant from the IDE. For example, you can
ask to debug a
> single test case and it will run the right target (with
the right
> parameter) from build.xml and connect it to the IDE's
debugger. Since
> Ant's own build.xml is not in general runnable by the
last official
> release, it uses a wrapper script to do some
bootstrapping and other
> preparation.
>
> Currently I just keep this in a separate directory
structure so as to
> keep my svn checkout clean, and refer to the checkout
via an external
> path. But if there are others who might want to use the
same IDE on Ant
> it seems a waste for them to not get the same project
setup.
> Distributing the metadata separately is awkward
(especially if targets
> in build.xml change) and few people would find it.
>
> Could/should this metadata be put in the Ant source
tree somewhere? It
> is a directory "nbproject" with a few files
(no changes to other files
> are needed). If at top level, you would be able to open
the top source
> dir as a NB project; if under e.g. src/etc/ you would
need to know to
> open that parent dir instead. I would need to do some
cleanup to test
> that all pieces still work (some I wrote months or even
years ago) and
> to ensure that all absolute paths or other per-user
configuration could
> be loaded from an svn-ignorable user.properties file.
>
I'm happy with this.
-nbprojects are not hard-coded to individuals or their
directory paths
are they?
-how do you manage the dependencies to externals like jsch,
junit, etc.
Will the project just point to stuff in lib/optional?
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
|
| Re: Inclusion of NetBeans project
metadata in source tree? |
  Germany |
2007-10-08 23:19:57 |
On Fri, 05 Oct 2007, Jesse Glick <jesse.glick sun.com> wrote:
> Could/should this metadata be put in the Ant source
tree somewhere?
No problem with me.
Stefan
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
|
[1-6]
|
|