Re: [PATCH] Add ant-build-system.

2016-03-19 Thread Alex Vong
Ricardo Wurmus writes: >> OK with these changes! > > Thanks. I performed the requested changes (including a fix to > “reset-timestamps” to include directories). Pushed as 5f7a1a4. > > ~~ Ricardo Thank you. I will re-write the clojure patch using ant-build-system.

Re: [PATCH] Add ant-build-system.

2016-03-14 Thread Roel Janssen
Ricardo Wurmus writes: >> OK with these changes! > > Thanks. I performed the requested changes (including a fix to > “reset-timestamps” to include directories). Pushed as 5f7a1a4. Great to see this. Thanks!

Re: [PATCH] Add ant-build-system.

2016-03-14 Thread Ricardo Wurmus
> OK with these changes! Thanks. I performed the requested changes (including a fix to “reset-timestamps” to include directories). Pushed as 5f7a1a4. ~~ Ricardo

Re: [PATCH] Add ant-build-system.

2016-03-10 Thread Pjotr Prins
Awesome package. Thanks Ricardo, we will use it. On Thu, Mar 10, 2016 at 05:17:59PM +0100, Ludovic Courtès wrote: > Ricardo Wurmus skribis: > > > Ricardo Wurmus writes: > > > >> Ludovic Courtès writes: > >> > The build.xml it generates contains a target “touch” which is run before >

Re: [PATCH] Add ant-build-system.

2016-03-10 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Ricardo Wurmus writes: > >> Ludovic Courtès writes: >> The build.xml it generates contains a target “touch” which is run before wrapping up the compiled .class files in a jar archive; this target ensures that the timestamps of all archived files are rese

Re: [PATCH] Add ant-build-system.

2016-03-10 Thread Ricardo Wurmus
Ricardo Wurmus writes: > Ludovic Courtès writes: > >>> The build.xml it generates contains a target “touch” which is run before >>> wrapping up the compiled .class files in a jar archive; this target >>> ensures that the timestamps of all archived files are reset, so the >>> produced jars can b

Re: [PATCH] Add ant-build-system.

2016-02-08 Thread Ricardo Wurmus
Ludovic Courtès writes: >> The build.xml it generates contains a target “touch” which is run before >> wrapping up the compiled .class files in a jar archive; this target >> ensures that the timestamps of all archived files are reset, so the >> produced jars can be (and in case of the above-ment

Re: [PATCH] Add ant-build-system.

2016-01-15 Thread Ludovic Courtès
Ricardo Wurmus skribis: > I’ve used it successfully to package the Java projects hamcrest-core, > junit, osgi-annotation, osgi-core, log4j-api, and javax-mail. Nice. > It’s especially useful in cases where a project does *not* use Ant and > would otherwise require building with Maven or recursi

[PATCH] Add ant-build-system.

2016-01-06 Thread Ricardo Wurmus
Hi Guix, this patch adds a new build system for Java projects: the “ant-build-system”. I’ve used it successfully to package the Java projects hamcrest-core, junit, osgi-annotation, osgi-core, log4j-api, and javax-mail. It’s especially useful in cases where a project does *not* use Ant and would

Re: [PATCH]: Add Ant.

2015-02-16 Thread Andreas Enge
On Mon, Feb 16, 2015 at 05:38:59PM +0100, Ricardo Wurmus wrote: > Attached is yet another version that I intend to push. I added some > more comments as to why gnu-build-system is used I think this is overkill. > The package is now named "ant", because I don't provide another more > fully featur

Re: [PATCH]: Add Ant.

2015-02-16 Thread Ricardo Wurmus
Andreas Enge writes: > Then, please push! This is indeed very useful for me. Attached is yet another version that I intend to push. I added some more comments as to why gnu-build-system is used and why tests are disabled in two places. Typos have been fixed as well. The package is now named "a

Re: [PATCH]: Add Ant.

2015-02-15 Thread Andreas Enge
On Sun, Feb 15, 2015 at 05:13:36PM +0100, Ricardo Wurmus wrote: > I'd prefer to leave it public for now because it's the only variant of > Ant we have at the moment. I encourage anyone more versed in Java stuff > to continue where I left off and provide a more featured variant of Ant. Okay. Maybe

Re: [PATCH]: Add Ant.

2015-02-15 Thread Ricardo Wurmus
Andreas Enge writes: > indeed, I was a bit confused since I remembered discussions about ANT_HOME, > which led me to believe that it had made it into the distribution. Please > do not hesitate to send out a ping if you do not get a reaction to a patch! The priority of Ant dropped quickly when I

Re: [PATCH]: Add Ant.

2015-02-15 Thread Andreas Enge
Hello, On Sun, Feb 15, 2015 at 02:54:54PM +0100, Ricardo Wurmus wrote: > I already packaged ant-minimal with only the most basic features > enabled, as most additional features depend on libraries that need ant > in order to build them. Here's the latest version of my patch to add > the ant-minim

Re: [PATCH]: Add Ant.

2015-02-09 Thread Ricardo Wurmus
Ludovic Courtès writes: >> According to the docs[1], >> >> "ANT_HOME is used by the launcher script for finding the >> libraries. JAVA_HOME is used by the launcher for finding the >> JDK/JRE to use." >> >> So, it would indeed make sense to modify the "launcher script" >> (whichever t

Re: [PATCH]: Add Ant.

2015-02-07 Thread Ludovic Courtès
Ricardo Wurmus skribis: >>> * to use Ant without problems ANT_HOME and JAVA_HOME really should be >>> set appropriately (ANT_HOME to $out of the ant-minimal package, >>> JAVA_HOME to $out of icedtea6). Should I suggest these two paths as >>> search paths by adding something like this to an

Re: [PATCH]: Add Ant.

2015-02-06 Thread Ricardo Wurmus
>> * to use Ant without problems ANT_HOME and JAVA_HOME really should be >> set appropriately (ANT_HOME to $out of the ant-minimal package, >> JAVA_HOME to $out of icedtea6). Should I suggest these two paths as >> search paths by adding something like this to ant-minimal (for >> ANT_HOME)

Re: [PATCH]: Add Ant.

2015-02-05 Thread Ludovic Courtès
Ricardo Wurmus skribis: > A couple more things: > > * the installation script copies MS DOS batch scripts to $out/bin, which > we could do without. Indeed. :-) Would be best to get rid of them. > * there are many launcher scripts for Ant: bash scripts, perl scripts, > Python scripts ... D

Re: [PATCH]: Add Ant.

2015-02-05 Thread Ludovic Courtès
Ricardo Wurmus skribis: > this patch adds ant-minimal, a minimal configuration of Apache Ant. Ant > can be configured with lots of optional libraries, but since most of > these libraries are built with Ant, I think it makes sense to provide a > minimal version. Yes. > A wart is that Ant (even

Re: [PATCH]: Add Ant.

2015-01-30 Thread Ricardo Wurmus
Ricardo Wurmus writes: > this patch adds ant-minimal, a minimal configuration of Apache Ant. Ant > can be configured with lots of optional libraries, but since most of > these libraries are built with Ant, I think it makes sense to provide a > minimal version. A couple more things: * the instal

[PATCH]: Add Ant.

2015-01-30 Thread Ricardo Wurmus
Hi Guix, this patch adds ant-minimal, a minimal configuration of Apache Ant. Ant can be configured with lots of optional libraries, but since most of these libraries are built with Ant, I think it makes sense to provide a minimal version. A wart is that Ant (even in the minimal configuration) de