Comments (10)
Example contents of ADT-generated default.properties file:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "build.properties", and override values to adapt the script to your
# project structure.
# Project target.
target=android-7
from android-archetypes.
Hi,
Right, this file is Eclipse specific no? I will definitely create them, but I need to know several details first:
- Where do we need it (all projects, test projects too) ?
- Can I make the assumption that the target value is always 'android-VERSION' ?
Thanks,
Clement
from android-archetypes.
The default.properties is defined here:
http://developer.android.com/guide/developing/eclipse-adt.html#CreatingAProject
Looks as though it's needed for all projects. As for the format assumption, I cannot confirm: as per usual, Google have not specified the syntax for this file. I believe you just need the line "target=android-PLATFORM" but without digging deep into the ADT source code I can't confirm.
from android-archetypes.
Hi,
I've updated the quickstart archetype with the default.properties file. Could you check?
from android-archetypes.
Having trouble getting m2eclipse to detect the SNAPSHOT plugin. I do the following:
- Run mvn install on latest pull from android-archetypes
- In Eclipse select File -> New -> Project...
- Select Maven -> Maven Project and click "Next"
- Click "Next" again
- Select "Default Local" catlog
- Check "Include snapshot archetypes" checkbox.
- Click "Add Archetype..."
- In Archetype Group Id enter "de.akquinet.android.archetypes"
- In Archetype Artifact Id" enter "android-quickstart"
- In Archetype Version enter "1.5.0-SNAPSHOT"
- Click "OK"
Get "Can't resolve Archetype de.akquinet.android.archetypes:android-quickstart:1.5.0-SNAPSHOT org.eclipse.core.runtime.CoreException: Could not resolve artifact" error message.
from android-archetypes.
Hi,
should be 1.0.5-SNAPSHOT no ?
You also need to 'crawl' you local repository: mvn archetype:crawl
This command build the archetype-catalog for you local maven repository
from android-archetypes.
Just verified, works with m2eclipse-android-integration after you run a Maven -> Update Project Configuration. It would be nice to modify m2eclipse-android-integration so it detects an Android project has been created and auto-self-configures.
Thanks for that, please let me know when you release.
from android-archetypes.
Great, I've also added the file to the with-test and release archetypes. I should be released today.
from android-archetypes.
Released and is now in central (1.0.5)
from android-archetypes.
Fantastic, thanks for that.
from android-archetypes.
Related Issues (20)
- Platform number to SDK version HOT 2
- New release? HOT 5
- proguard configuration broken in release archetype HOT 2
- Unable to create project from archetype HOT 2
- android-archetypes doesn't fetch the android SDK HOT 3
- Maybe new archetype HOT 7
- m2e 1.1 now requires src/test/java folder HOT 3
- top level mvn clean install fails HOT 2
- Remove proguard plugin HOT 2
- Release new version to central HOT 1
- add test to library archtype HOT 1
- New android archetype release? HOT 4
- mvn release:prepare fails on fresh project created using the android-release archetype HOT 6
- When trying to convert the project generated to Gradle, it fails HOT 2
- release apk creates an INSTALL_PARSE_FAILED_NO_CERTIFICATES error during installation HOT 4
- "Integration tests" module should be ignored in release profile HOT 5
- Wrong android-plugin version HOT 3
- License for generated projects HOT 5
- Quickstart archetype has missing or out of date plugin versions HOT 1
- please update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-archetypes.