Removing native libs from repository

Discussions for core devs and contributors. Read only for normal forum members to keep the noise low

Removing native libs from repository

Postby mzechner » Sun Feb 03, 2013 4:09 pm

I'm want to remove the native libs (xxx-natives.jar, arm folders etc.) from the Git repository. For anyone working from source, you'll have to invoke the update.sh script which will fetch the files from the nightly build server and populate your local repo copy.

Any objections? This would make my life a lot easier. Anyone without cygwin on windows would be excluded from the fun though, as i will not write a powershell script. Bash all the way.
mzechner
Site Admin
 
Posts: 4879
Joined: Sat Jul 10, 2010 3:50 pm

Re: Removing native libs from repository

Postby BurningHand » Sun Feb 03, 2013 5:18 pm

Sounds good to me.
IRC: nexsoftware / mobidevelop; GitHub: MobiDevelop;
BurningHand
 
Posts: 2812
Joined: Mon Oct 25, 2010 4:35 am

Re: Removing native libs from repository

Postby bach » Mon Feb 04, 2013 2:10 am

Makes sense - as long as we document it somewhere I guess. I think it would be good to have an entry in the wiki describing working from source ..

Bach
bach
 
Posts: 713
Joined: Mon Mar 07, 2011 1:50 am

Re: Removing native libs from repository

Postby arielsan » Mon Feb 04, 2013 10:19 am

Totally agree., I wanted this change for so long :)
Image
arielsan
 
Posts: 195
Joined: Sat Apr 02, 2011 3:58 pm

Re: Removing native libs from repository

Postby mzechner » Mon Feb 04, 2013 3:35 pm

Will add a "Working from Source" entry on the wiki. Almost done with the changes. It's likely to break some things, so please report whatever issues you find.
mzechner
Site Admin
 
Posts: 4879
Joined: Sat Jul 10, 2010 3:50 pm

Re: Removing native libs from repository

Postby mzechner » Mon Feb 04, 2013 5:05 pm

And the changes are live. All binaries have been purged from the repository. When you checkout the repo, you first need to run the fetch.xml Ant script in the root dir of the repo.

Code: Select all
ant -f fetch.xml


That will download all native libs and populate the directories accordingly.

I'll write a blog post and a wiki article tonight.
mzechner
Site Admin
 
Posts: 4879
Joined: Sat Jul 10, 2010 3:50 pm

Re: Removing native libs from repository

Postby mzechner » Mon Feb 04, 2013 5:08 pm

I also simplified the .gitignore file :D
mzechner
Site Admin
 
Posts: 4879
Joined: Sat Jul 10, 2010 3:50 pm


Return to Libgdx Development

Who is online

Users browsing this forum: No registered users and 1 guest