aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/jarCheckTests1
Commit message (Collapse)AuthorAgeFilesLines
* Fix the test projects eclipse setup.Xavier Ducrohet2012-03-022-2/+0
| | | | | | | They shouldn't manually add their jar to the classpath anymore. Putting jar files in libs/ is enough now. Change-Id: I3ea7731082f306257531798f34eaa8eb68109c18
* More fixes to the test projects.Xavier Ducrohet2012-03-0235-2/+127
| | | | | | | | | | - add eclipse files for a bunch of them - package name refactoring to match the folder structure somehow (more need this) - updated the javaproject to have an extra java project and to have code that access java resources to test packaging too. Change-Id: Ie13842c1b891e495e04d8a157a12cac9db13f30e
* Fix issue when a project and its libraries use the same jar files.Xavier Ducrohet2012-02-2428-0/+547
This is only an issue in Ant because in Eclipse we don't automatically pull the jar files from libraries into the main project (we should somehow now that we have the Library Projects jar container that is dynamic). Right now we do a simple size/sha1 check on libraries that have the same name to figure out if they are the same version. If they are we only use one in the dex step (that notoriously fails to add the same class twice). If they are different we stop the build as it's an error (having two library projects depending on two different versions of a jar file should be an error as we can be sure the two versions are API compatible). For later: not use the file name only? find a way to version the libraries and to have them declare whether they are API compatible with older versions? Also added a hard-coded case for the Android Support Library. If both the v4 and the v13 are detected, use the v13 only as it includes the v4 already. New test apps. Three cases: - main and library projects with duplicate jar files that are identical - main and library projects with duplicate jar files that are NOT identical - main and library projects with v4 and v13 in the dependency list. Change-Id: I3a9abdcbec635d7c9d3228bdd105120f77178b27