aucd29 / cloning

Automatically exported from code.google.com/p/cloning
Other
0 stars 0 forks source link

Feature request: provide ant build.xml #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I'ld be interested in creating a RPM package for cloning. Shortly said, maven 
is a nightmare regarding rpm build.

I'm not familiar with maven, but I was told it can generate ant build.xml files 
through command "mvn ant:ant". Would you mind seing if you can provide those, 
for a maven-independant build?

Thanks,
Rémy

Original issue reported on code.google.com by remy.gar...@gmail.com on 13 Mar 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Hi,

   Why is maven so tough?

svn export https://cloning.googlecode.com/svn/tags/1.7.9 cloning
cd cloning
mvn -DskipTests=true clean package

Then the cloning/target directory should have cloning-1.7.9.jar

Alternatively, 
svn export https://cloning.googlecode.com/svn/tags/1.7.9 cloning
cd cloning
mvn clean ant:ant
ant

and again the cloning/target directory should have cloning-1.7.9.jar

Does that help?

Original comment by kostas.k...@googlemail.com on 14 Mar 2012 at 8:57

GoogleCodeExporter commented 9 years ago
Hi, and sorry for the late answer.

Regarding maven, the issue is the workflow. I'm building packages with a build 
service (OBS). The idea is to build package from source code, over dependencies 
built from source code and so on. This is being done on VM workers, offline 
except for trusted package repository.
Fitting maven in there is difficult: we don't want it to download (un)trusted 
lib, and providing the libs manually for an offline build seems difficult.
... plus, maven itself seems to be a nightmare to package, as OBS's guys 
couldn't get it to package in OBS.

Anyway. Thanks for the input, I could get ant build files. I've to work on 
objenesis a bit for the same reason, I may end up just providing directly your 
jar instead of compiling it, for now.

FYI: 
https://build.opensuse.org/package/show?package=cloning&project=network%3Acluste
r%3Axtreemos
In case you're interested in RPM spec file. 

Original comment by remy.gar...@gmail.com on 26 Mar 2012 at 2:45

GoogleCodeExporter commented 9 years ago
"The idea is to build package from source code, over dependencies built from 
source code and so on." , yes indeed that can go a long way with maven. Even 
with ant though it will require a form of downloading dependencies. But anyway, 
good to know there is a work around (at least a temp one)

So cloning lib is included in opensuse? nice!

I'll assume the issue resolved, please let me know if you need anything else.

Original comment by kostas.k...@googlemail.com on 27 Mar 2012 at 7:34

GoogleCodeExporter commented 9 years ago
"So cloning lib is included in opensuse? nice!"
It's available if you add my (unofficial) OBS repository, yes.

Issue resolved. Thanks for your time.

Original comment by remy.gar...@gmail.com on 28 Mar 2012 at 8:25