Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: provide ant build.xml #6

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments
Closed

Feature request: provide ant build.xml #6

GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

"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

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

"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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant