ant dependency on jython and antlr
- To: pkg-java-maintainers@lists.alioth.debian.org
- Cc: Debian JAVA list <debian-java@lists.debian.org>
- Subject: ant dependency on jython and antlr
- From: Daniel Bonniot <Daniel.Bonniot@inria.fr>
- Date: Sat, 20 Dec 2003 14:13:39 +0100
- Message-id: <[🔎] 3FE44B03.8020909@inria.fr>
Hi java maintainers,Since version 1.5.3-2, the package ant depends on jython and antlr. The justification was:
* Depend on the previously suggested packages jython and antlr to avoid
dangling symlinks in /usr/share/ant/lib
The Debian policy, section 7.2, says:
* Depends
This declares an absolute dependency. A package will not be configured
unless all of the packages listed in its Depends field have been
correctly configured.
The Depends field should be used if the depended-on package is required for the depending package to provide a significant amount of functionality.
[...] * SuggestsThis is used to declare that one package may be more useful with one or more others. Using this field tells the packaging system and the user that the listed packages are related to this one and can perhaps enhance its usefulness, but that installing this one without them is perfectly reasonable.
It seems pretty clear that ant does not *depend* on jython or antlr, since those are not required for ant to "provide a significant amount of functionality." The Suggests was probably right.
Now I understand the technical problem there was with the dangling symlink. However, I think the propoer solution for this would be to have the link in the jython and antlr packages, respectively. They should probably suggest ant, too.
Note that this is what the eclipse-javac package does: it includes the ant link:
$ dpkg -L eclipse-javac|grep ant/lib /usr/share/ant/lib /usr/share/ant/lib/jdtCompilerAdapter.jar /usr/share/ant/lib/jdtcore.jar $ ls -l /usr/share/ant/lib/jdtcore.jarlrwxrwxrwx 1 root root 60 Aug 3 15:28 /usr/share/ant/lib/jdtcore.jar -> ../../eclipse/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar
Eclipse-javac should additionally at least suggest ant, I think.Does everybody agree? Should this be made part of the Java policy? Here is my proposal: "If a package provides ant tasks, it should include a symlink from /usr/share/ant/lib/<package-name><suffix>.jar to the jar file including the task. It should also at least suggest the package ant."
Cheers, Daniel
Reply to:
- Follow-Ups:
- Re: ant dependency on jython and antlr
- From: Jan Schulz <jasc.usenet@gmx.de>
- Re: ant dependency on jython and antlr
- Prev by Date: Re: J2SDK question
- Next by Date: Re: ant dependency on jython and antlr
- Previous by thread: closing #136148 kaffe's ClassLoader.getSystemResource( "foo/" ) returns null [was: Re: Bug Status of Kaffe]
- Next by thread: Re: ant dependency on jython and antlr
- Index(es):