Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-19 Thread Arnaud Vandyck
On Tue, 19 Aug 2003 15:59:33 +0200 Stefan Gybas <[EMAIL PROTECTED]> wrote: > Arnaud Vandyck wrote: > > > Hi Stefan, I'm migrating my libgef-java to CBDS but I do not think you > > did commit your changes to libcommons-beanutils-java to pkg-java on > > Alioth? I'd like to see your

Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-19 Thread Stefan Gybas
Arnaud Vandyck wrote: Hi Stefan, I'm migrating my libgef-java to CBDS but I do not think you did commit your changes to libcommons-beanutils-java to pkg-java on Alioth? I'd like to see your complete debian/rules and you debian/control files. No, I did not commit the changes, s

Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-19 Thread Arnaud Vandyck
On Thu, 14 Aug 2003 22:27:05 +0200 Stefan Gybas <[EMAIL PROTECTED]> wrote: [...] > If you are maintaining a package which uses Ant please test the new > build system and send me feedback. I'll submit the two files to the CDBS > authors if I don't receive any compaints or suggestions for major

Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-19 Thread Arnaud Vandyck
On Tue, 19 Aug 2003 15:59:33 +0200 Stefan Gybas <[EMAIL PROTECTED]> wrote: > Arnaud Vandyck wrote: > > > Hi Stefan, I'm migrating my libgef-java to CBDS but I do not think you > > did commit your changes to libcommons-beanutils-java to pkg-java on > > Alioth? I'd like to see your

Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-19 Thread Stefan Gybas
Arnaud Vandyck wrote: Hi Stefan, I'm migrating my libgef-java to CBDS but I do not think you did commit your changes to libcommons-beanutils-java to pkg-java on Alioth? I'd like to see your complete debian/rules and you debian/control files. No, I did not commit the changes,

Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-19 Thread Arnaud Vandyck
On Thu, 14 Aug 2003 22:27:05 +0200 Stefan Gybas <[EMAIL PROTECTED]> wrote: [...] > If you are maintaining a package which uses Ant please test the new > build system and send me feedback. I'll submit the two files to the CDBS > authors if I don't receive any compaints or suggestions for major

Re: [PROPOSAL] dh_ant

2003-08-16 Thread Jan Schulz
Hello Arnaud, Friday, August 15, 2003, 11:46:31 PM, you wrote: > Jan Schulz <[EMAIL PROTECTED]> wrote: >> IMO the big enchancement is, that you only have to specify the >> Depends once: in debian/control and everything else is added from >> there on. > That's what we all want ;) Ok, I take that a

Re: [PROPOSAL] dh_ant

2003-08-16 Thread Jan Schulz
Hello Arnaud, Friday, August 15, 2003, 11:46:31 PM, you wrote: > Jan Schulz <[EMAIL PROTECTED]> wrote: >> IMO the big enchancement is, that you only have to specify the >> Depends once: in debian/control and everything else is added from >> there on. > That's what we all want ;) Ok, I take that a

JAXP in debian [was Re: [PROPOSAL] dh_ant]

2003-08-15 Thread Xavier Renard
Hi all On Thu, 14 Aug 2003 21:39:17 +0200 Jan Schulz <[EMAIL PROTECTED]> wrote: libxalan2-java depends on libxerces2-java but you do not need xml-apis.jar AND xmlParserAPIs.jar in your classpath. It's up to the maintainer of the application to know what to do. This will anyway have to

Re: [PROPOSAL] dh_ant

2003-08-15 Thread Arnaud Vandyck
On Thu, 14 Aug 2003 21:39:17 +0200 Jan Schulz <[EMAIL PROTECTED]> wrote: [...] > Usually you need to know what version of what lib you need. If that > version is packages, you add this package name to your Depends: > dh_java (or yourself, if thats not oncluded in such a script) will > then add t

JAXP in debian [was Re: [PROPOSAL] dh_ant]

2003-08-15 Thread Xavier Renard
Hi all On Thu, 14 Aug 2003 21:39:17 +0200 Jan Schulz <[EMAIL PROTECTED]> wrote: libxalan2-java depends on libxerces2-java but you do not need xml-apis.jar AND xmlParserAPIs.jar in your classpath. It's up to the maintainer of the application to know what to do. This will anyway have to

Re: [PROPOSAL] dh_ant

2003-08-15 Thread Arnaud Vandyck
On Thu, 14 Aug 2003 21:39:17 +0200 Jan Schulz <[EMAIL PROTECTED]> wrote: [...] > Usually you need to know what version of what lib you need. If that > version is packages, you add this package name to your Depends: > dh_java (or yourself, if thats not oncluded in such a script) will > then add t

Re: [PROPOSAL] dh_ant

2003-08-14 Thread Jan Schulz
Hallo Arnaud, * Arnaud Vandyck wrote: >Can you give me some more explanations (private or on the list). Here we go... I think you ar eon the list, so no private reply. >> * Jan Schulz wrote: >> ** getclasspath.sh This script will be used in any java applications startscript. You (or a dh_java)

CDBS class for Ant, was Re: [PROPOSAL] dh_ant

2003-08-14 Thread Stefan Gybas
Ross Burton wrote: Excellent plan. CDBS is a godsend for packaging GNOME software (2 includes). I think it is now also for Ant-based java software. :-) Attached is the first version of ant.mk and ant-vars.mk for CDBS. I have tested it with some packages, for example debian/rules for Commons Bean

Re: [PROPOSAL] dh_ant

2003-08-14 Thread Jan Schulz
Hello Arnaud, Thursday, August 14, 2003, 3:33:46 PM, you wrote: >> >> * Jan Schulz wrote: >> >> ** getclasspath.sh >> >> This script will be used in any java applications startscript. You (or >> a dh_java) put the dependencies (package names) as param and it will >> give you the complete classp

Re: [PROPOSAL] dh_ant

2003-08-14 Thread Jan Schulz
Hello Arnaud, Thursday, August 14, 2003, 3:33:46 PM, you wrote: >> >> * Jan Schulz wrote: >> >> ** getclasspath.sh >> >> This script will be used in any java applications startscript. You (or >> a dh_java) put the dependencies (package names) as param and it will >> give you the complete classp

Re: [PROPOSAL] dh_ant

2003-08-14 Thread Arnaud Vandyck
On Sun, 10 Aug 2003 20:10:45 +0200 Jan Schulz <[EMAIL PROTECTED]> wrote: > Hallo Arnaud, Hallo Jan, > * Arnaud Vandyck wrote: > > Can you give me some more explanations (private or on the list). > Here we go... I think you are on the list, so no private reply. Yes I'm on the list and told you

Re: [PROPOSAL] dh_ant

2003-08-14 Thread Jan Schulz
Hallo Jan, * Jan Schulz wrote: >For the infrastructure: This shouldn't be the problem: We don't have >to deal with 'runtime' loading, just with adding something 'shortly >before runtime'. Plugins should be done anyway with seperate dirs and >classloader (that's at least my experience with eclipse,

Re: [PROPOSAL] dh_ant

2003-08-14 Thread Arnaud Vandyck
On Sun, 10 Aug 2003 20:10:45 +0200 Jan Schulz <[EMAIL PROTECTED]> wrote: > Hallo Arnaud, Hallo Jan, > * Arnaud Vandyck wrote: > > Can you give me some more explanations (private or on the list). > Here we go... I think you are on the list, so no private reply. Yes I'm on the list and told you

Re: [PROPOSAL] dh_ant

2003-08-10 Thread Jan Schulz
Hallo Arnaud, * Arnaud Vandyck wrote: >Can you give me some more explanations (private or on the list). Here we go... I think you ar eon the list, so no private reply. >> * Jan Schulz wrote: >> ** getclasspath.sh This script will be used in any java applications startscript. You (or a dh_java)

Re: [PROPOSAL] dh_ant

2003-08-05 Thread Jan Schulz
Hallo Jan, * Jan Schulz wrote: >For the infrastructure: This shouldn't be the problem: We don't have >to deal with 'runtime' loading, just with adding something 'shortly >before runtime'. Plugins should be done anyway with seperate dirs and >classloader (that's at least my experience with eclipse,

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Jan Schulz
Hallo Andrew, * Andrew Pimlott wrote: >If nothing else, you could put a variable >FORCE_OFFICIAL_BUILD_DEPENDENCIES=1 at the top of debian/rules, and >let people unset it. It would be nice if something like this became >standard for all packages. How is that actually handled on the buildd maschi

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Andrew Pimlott
On Tue, Jul 29, 2003 at 03:45:08PM +0200, Stefan Gybas wrote: > Andrew Pimlott wrote: > > >You might want official builds to always use the same compiler, but > >there's no reason not to make it convenient for others to use their > >preferred compiler. Especially when the preferred compiler is >

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Andrew Pimlott
On Tue, Jul 29, 2003 at 08:23:23PM +0200, Stefan Gybas wrote: > It is just for building the package. I don't think that most users will > rebuild the Java packages, especially since they are architecture > independent. You also need a lot of -dev packages (and gcc) for > rebuilding C and C++ pac

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Jan Schulz
Hallo Andrew, * Andrew Pimlott wrote: >If nothing else, you could put a variable >FORCE_OFFICIAL_BUILD_DEPENDENCIES=1 at the top of debian/rules, and >let people unset it. It would be nice if something like this became >standard for all packages. How is that actually handled on the buildd maschi

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Andrew Pimlott
On Tue, Jul 29, 2003 at 03:45:08PM +0200, Stefan Gybas wrote: > Andrew Pimlott wrote: > > >You might want official builds to always use the same compiler, but > >there's no reason not to make it convenient for others to use their > >preferred compiler. Especially when the preferred compiler is >

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Andrew Pimlott
On Tue, Jul 29, 2003 at 08:23:23PM +0200, Stefan Gybas wrote: > It is just for building the package. I don't think that most users will > rebuild the Java packages, especially since they are architecture > independent. You also need a lot of -dev packages (and gcc) for > rebuilding C and C++ pac

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Arnaud Vandyck
Stefan Gybas <[EMAIL PROTECTED]> wrote: > Jan Schulz wrote: > > > I'm currently using this line to get 'java' in debian/rules: > > jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 > > /usr/lib/j2sdk1.3 > > JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ > > t

Re: [PROPOSAL] dh_ant

2003-07-30 Thread Arnaud Vandyck
Stefan Gybas <[EMAIL PROTECTED]> wrote: > Jan Schulz wrote: > > > I'm currently using this line to get 'java' in debian/rules: > > jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3 > > JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ > > then e

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >You are a package manager, not a "standard" user. You should have a lot >of differnt JDK installed anyway to be ably to very bug reports so >what's the problem with on specific JDK in build dependencies? Almost half of the bugs/mails about eclipse ended in t

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >You are a package manager, not a "standard" user. You should have a lot >of differnt JDK installed anyway to be ably to very bug reports so >what's the problem with on specific JDK in build dependencies? Almost half of the bugs/mails about eclipse ended in t

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Jan Schulz wrote: I'm doing it all the time: I'm running woody and I have specified deb ... stable deb-src ... unstable You are a package manager, not a "standard" user. You should have a lot of differnt JDK installed anyway to be ably to very bug reports so what's the problem with on specific JD

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >>I've had a look at this bug and I thing we should not fource a >>specific javac or java at our users. If they don't want to download a >>BD JDK, then this should be made possible. >It is just for building the package. I don't think that most users will >rebui

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Jan Schulz wrote: I've had a look at this bug and I thing we should not fource a specific javac or java at our users. If they don't want to download a BD JDK, then this should be made possible. It is just for building the package. I don't think that most users will rebuild the Java packages, espec

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Jan Schulz wrote: I'm doing it all the time: I'm running woody and I have specified deb ... stable deb-src ... unstable You are a package manager, not a "standard" user. You should have a lot of differnt JDK installed anyway to be ably to very bug reports so what's the problem with on specific J

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >>Excellent! ;) Can I copy/paste it in mine? ;) I've also just inherited this code... :) >I've written this code 2 years ago when Blackdown changed their >JAVA_HOME in the j2sdk1.3 packages from /usr/lib/j2sdk1.3 to >/usr/lib/j2se/1.3 so packages could be bu

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >>I've had a look at this bug and I thing we should not fource a >>specific javac or java at our users. If they don't want to download a >>BD JDK, then this should be made possible. >It is just for building the package. I don't think that most users will >rebui

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >Jan Schulz wrote: >In eclipse? I think #197484 is a perfect example why this is bad and why >you should use one specific JDK version. Yep, that one was bad. But I don't think that I want to install a specific JDK just for compiling. OK, I've curently 5 JDKs i

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Arnaud Vandyck wrote: Excellent! ;) Can I copy/paste it in mine? ;) No, please don't! I've written this code 2 years ago when Blackdown changed their JAVA_HOME in the j2sdk1.3 packages from /usr/lib/j2sdk1.3 to /usr/lib/j2se/1.3 so packages could be build with both versions (see #122584). It ist

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Jan Schulz wrote: I've had a look at this bug and I thing we should not fource a specific javac or java at our users. If they don't want to download a BD JDK, then this should be made possible. It is just for building the package. I don't think that most users will rebuild the Java packages, espe

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Jan Schulz wrote: I'm currently using this line to get 'java' in debian/rules: jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3 JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ then echo \ $$jdir;exit 0;fi;done) In eclipse? I think #197484 is a

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Arnaud Vandyck
Jan Schulz <[EMAIL PROTECTED]> wrote: [...] > I'm currently using this line to get 'java' in debian/rules: > jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 > /usr/lib/j2sdk1.3 > JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ > then echo \ > $$jdir;exit 0;fi

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >>Excellent! ;) Can I copy/paste it in mine? ;) I've also just inherited this code... :) >I've written this code 2 years ago when Blackdown changed their >JAVA_HOME in the j2sdk1.3 packages from /usr/lib/j2sdk1.3 to >/usr/lib/j2se/1.3 so packages could be bu

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Arnaud, * Arnaud Vandyck wrote: >Stefan Gybas <[EMAIL PROTECTED]> wrote: >What are the possible values of JAVA_HOME where you want to use >something different from Blackdown's or Sun's JDK? There are a lot IMO: The values, where mpkg-j2sdk puts the JDKs, /usr/local... and so on. I

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >Jan Schulz wrote: >In eclipse? I think #197484 is a perfect example why this is bad and why >you should use one specific JDK version. Yep, that one was bad. But I don't think that I want to install a specific JDK just for compiling. OK, I've curently 5 JDKs i

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Arnaud Vandyck wrote: Excellent! ;) Can I copy/paste it in mine? ;) No, please don't! I've written this code 2 years ago when Blackdown changed their JAVA_HOME in the j2sdk1.3 packages from /usr/lib/j2sdk1.3 to /usr/lib/j2se/1.3 so packages could be build with both versions (see #122584). It i

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Jan Schulz wrote: I'm currently using this line to get 'java' in debian/rules: jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3 JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ then echo \ $$jdir;exit 0;fi;done) In eclipse? I think #197484 is

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Arnaud Vandyck
Jan Schulz <[EMAIL PROTECTED]> wrote: [...] > I'm currently using this line to get 'java' in debian/rules: > jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3 > JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ > then echo \ > $$jdir;exit 0;fi;do

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Jan Schulz
Hallo Arnaud, * Arnaud Vandyck wrote: >Stefan Gybas <[EMAIL PROTECTED]> wrote: >What are the possible values of JAVA_HOME where you want to use >something different from Blackdown's or Sun's JDK? There are a lot IMO: The values, where mpkg-j2sdk puts the JDKs, /usr/local... and so on. I

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Andrew Pimlott wrote: You might want official builds to always use the same compiler, but there's no reason not to make it convenient for others to use their preferred compiler. Especially when the preferred compiler is proprietary. We should be moving away from hard-coding knowledge about the co

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Andrew Pimlott
On Mon, Jul 28, 2003 at 07:13:47PM +0200, Stefan Gybas wrote: > That's exactly the purpose. A build dependency for a JVM should be > specific, see http://pkg-java.alioth.debian.org/building.html for the > reasons. You might want official builds to always use the same compiler, but there's no rea

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Stefan Gybas
Andrew Pimlott wrote: You might want official builds to always use the same compiler, but there's no reason not to make it convenient for others to use their preferred compiler. Especially when the preferred compiler is proprietary. We should be moving away from hard-coding knowledge about the c

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Andrew Pimlott
On Mon, Jul 28, 2003 at 07:13:47PM +0200, Stefan Gybas wrote: > That's exactly the purpose. A build dependency for a JVM should be > specific, see http://pkg-java.alioth.debian.org/building.html for the > reasons. You might want official builds to always use the same compiler, but there's no rea

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Arnaud Vandyck
Stefan Gybas <[EMAIL PROTECTED]> wrote: > Daniel Bonniot wrote: > > It's best to have both options. Otherwise it forces every package to > > build-depend on a specific JVM, even though some might work with any > > JVM. > > That's exactly the purpose. A build dependency for a JVM should be > sp

Re: [PROPOSAL] dh_ant

2003-07-29 Thread Arnaud Vandyck
Stefan Gybas <[EMAIL PROTECTED]> wrote: > Daniel Bonniot wrote: > > It's best to have both options. Otherwise it forces every package to > > build-depend on a specific JVM, even though some might work with any > > JVM. > > That's exactly the purpose. A build dependency for a JVM should be > sp

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Mark Howard
On Mon, 28 Jul 2003 14:47:35 +0200, Stefan Gybas wrote: >> I'd propose to conform to dh_* and use something like debian/ant or >> debian/package.ant > > I think I have a better solution. I'd like to create an Ant class for CDBS I want both! Seriously, there are some cases where a full cdbs clas

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Daniel Bonniot wrote: It's best to have both options. Otherwise it forces every package to build-depend on a specific JVM, even though some might work with any JVM. That's exactly the purpose. A build dependency for a JVM should be specific, see http://pkg-java.alioth.debian.org/building.html for

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Jan Schulz wrote: I don't agree, at least until this can also be done with packages, where I have to call differnt targets, install difeferently and so on. You can do this, just add the additional required commands to the corresponding targets in debian/rules, like I did in doc++: --- cut here ---

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Daniel Bonniot
Ben Burton wrote: JAVA_HOME=/usr/lib/j2se/1.4 Would there be a way of making this bit magic? i.e. following the /usr/bin/java symlink? This is dangerous - even if you jave j2sdk1.4 installed, /usr/bin/java might still point to kaffe, gij, etc. I'd stick with a hard-coded path, especia

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Ross Burton wrote: Excellent plan. CDBS is a godsend for packaging GNOME software (2 includes). I must note here that the initial idea for a CDBS Ant class was from Mark Howard, so he deserves most of the credits. I didn't even know what CDBS was until he told me. :-) Stefan

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >I think I have a better solution. I'd like to create an Ant class for >CDBS (http://build-common.alioth.debian.org/) so debian/rules will >become really simple. For example, take a look at debian/rules from the >latest doc++ package, it's really amazing. Ima

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Jan Schulz
Hallo Arnaud, * Arnaud Vandyck wrote: >I'd propose to conform to dh_* and use something like +1 >debian/ant or >debian/package.ant I don't think that a package.ant will be usefull: In eclipse, I have two buildfiles (one patched, one "patched into existence"), which I call tree times each (as t

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Ben Burton
> > JAVA_HOME=/usr/lib/j2se/1.4 > > Would there be a way of making this bit magic? i.e. following the > /usr/bin/java symlink? This is dangerous - even if you jave j2sdk1.4 installed, /usr/bin/java might still point to kaffe, gij, etc. I'd stick with a hard-coded path, especially if it require

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Ross Burton
On Mon, 2003-07-28 at 13:47, Stefan Gybas wrote: > Arnaud Vandyck wrote: > > > I'd propose to conform to dh_* and use something like > > debian/ant or > > debian/package.ant > > I think I have a better solution. I'd like to create an Ant class for > CDBS (http://build-common.alioth.debian.org/)

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Mark Howard
On Mon, 28 Jul 2003 14:47:35 +0200, Stefan Gybas wrote: >> I'd propose to conform to dh_* and use something like debian/ant or >> debian/package.ant > > I think I have a better solution. I'd like to create an Ant class for CDBS I want both! Seriously, there are some cases where a full cdbs clas

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Daniel Bonniot wrote: It's best to have both options. Otherwise it forces every package to build-depend on a specific JVM, even though some might work with any JVM. That's exactly the purpose. A build dependency for a JVM should be specific, see http://pkg-java.alioth.debian.org/building.html for

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Jan Schulz wrote: I don't agree, at least until this can also be done with packages, where I have to call differnt targets, install difeferently and so on. You can do this, just add the additional required commands to the corresponding targets in debian/rules, like I did in doc++: --- cut here ---

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Daniel Bonniot
Ben Burton wrote: JAVA_HOME=/usr/lib/j2se/1.4 Would there be a way of making this bit magic? i.e. following the /usr/bin/java symlink? This is dangerous - even if you jave j2sdk1.4 installed, /usr/bin/java might still point to kaffe, gij, etc. I'd stick with a hard-coded path, especi

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Ross Burton wrote: Excellent plan. CDBS is a godsend for packaging GNOME software (2 includes). I must note here that the initial idea for a CDBS Ant class was from Mark Howard, so he deserves most of the credits. I didn't even know what CDBS was until he told me. :-) Stefan -- To UNSUBSCRIBE

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Jan Schulz
Hallo Stefan, * Stefan Gybas wrote: >I think I have a better solution. I'd like to create an Ant class for >CDBS (http://build-common.alioth.debian.org/) so debian/rules will >become really simple. For example, take a look at debian/rules from the >latest doc++ package, it's really amazing. Ima

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Jan Schulz
Hallo Arnaud, * Arnaud Vandyck wrote: >I'd propose to conform to dh_* and use something like +1 >debian/ant or >debian/package.ant I don't think that a package.ant will be usefull: In eclipse, I have two buildfiles (one patched, one "patched into existence"), which I call tree times each (as t

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Ben Burton
> > JAVA_HOME=/usr/lib/j2se/1.4 > > Would there be a way of making this bit magic? i.e. following the > /usr/bin/java symlink? This is dangerous - even if you jave j2sdk1.4 installed, /usr/bin/java might still point to kaffe, gij, etc. I'd stick with a hard-coded path, especially if it require

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Ross Burton
On Mon, 2003-07-28 at 13:47, Stefan Gybas wrote: > Arnaud Vandyck wrote: > > > I'd propose to conform to dh_* and use something like > > debian/ant or > > debian/package.ant > > I think I have a better solution. I'd like to create an Ant class for > CDBS (http://build-common.alioth.debian.org/)

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Arnaud Vandyck wrote: I'd propose to conform to dh_* and use something like debian/ant or debian/package.ant I think I have a better solution. I'd like to create an Ant class for CDBS (http://build-common.alioth.debian.org/) so debian/rules will become really simple. For example, take a look at

Re: [PROPOSAL] dh_ant

2003-07-28 Thread Stefan Gybas
Arnaud Vandyck wrote: I'd propose to conform to dh_* and use something like debian/ant or debian/package.ant I think I have a better solution. I'd like to create an Ant class for CDBS (http://build-common.alioth.debian.org/) so debian/rules will become really simple. For example, take a look at