Bugs item #471256, was opened at 2001-10-15 02:53
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=471256&group_id=31602
Category: None
Group: None
Status: Open
Resolution: None
Priority: 1
Submitted By: Andrew Stevens (stevensa)
Assigned to: Nobody/Anonymous (nobody)
Summary: clean build target not deleting jars
Initial Comment:
The 'clean' build target isn't cleaning up the
core/samples/lib directory as well as it might -
there's a bunch of jar files copied in there by
the 'jar' target that don't get removed.
----------------------------------------------------------------------
>Comment By: Dmitri Colebatch (dimc)
Date: 2001-12-05 06:17
Message:
Logged In: YES
user_id=204154
Ara - have can you make a call on this so we can close it?
cheers
dim
----------------------------------------------------------------------
Comment By: Aslak Helles�y (rinkrank)
Date: 2001-10-16 07:08
Message:
Logged In: YES
user_id=49846
The only reason to copy ANY jars from one place in the
source tree to another is if we want to distribute the
samples alone. Unless we want to do that, I suggest we put
this in the samples' build.xml:
<path id="project.class.path">
<!-- include the jboss verifier, struts, etc -->
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
<!-- include the libs that xdoclet relies on runtime -->
<fileset dir="${basedir}/../../lib">
<include name="*.jar"/>
</fileset>
<!-- include xdoclet itself -->
<fileset dir="${basedir}../dist/lib">
<include name="*.jar"/>
</fileset>
</path>
Why copy-paste-delete anything at all? Just let the jars
sit where they are (!)
----------------------------------------------------------------------
Comment By: Andrew Stevens (stevensa)
Date: 2001-10-16 06:21
Message:
Logged In: YES
user_id=247081
No problem, the samples' own 'prepare' target could copy
down the extra jars they need (after all, isn't that what
it's there for?), and then the 'clean' target can delete
them again. More self-contained than doing the copying in
the 'jar' target of core/script/build.xml and leaving
unused copies of ejb20.jar lying around...
----------------------------------------------------------------------
Comment By: Aslak Helles�y (rinkrank)
Date: 2001-10-15 03:56
Message:
Logged In: YES
user_id=49846
In my opinion there is no need to copy the jars in the
first place. Why not just refer to the original jars in the
classpath?
1) Don't have xdoclet/core/scripts/build.xml/jar copy the
jars
2) Let xdoclet/core/samples/scripts/build.xml use jars from
xdoclet/lib (as well as the special ones in
xdoclet/core/samples/lib)
<aslak/>
----------------------------------------------------------------------
Comment By: Konstantin Pribluda (ko5tik)
Date: 2001-10-15 03:35
Message:
Logged In: YES
user_id=91100
Not sure this is a good idea. Shall cleaning of
"xdoclet" affect compiling of examples?
I think not.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=471256&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel