Skip to content

Commit

Permalink
Revert "Update accessory_filter manually"
Browse files Browse the repository at this point in the history
This reverts commit 29807ce.
  • Loading branch information
Lauszus committed Mar 12, 2013
1 parent 29807ce commit fa9abc3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,31 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.version}</version>
<executions>
<execution>
<!-- Use the copy resources instead of resources, which adds it to the eclipse buildpath.
This is used to update accessory_filter.xml -->
<phase>initialize</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/src/templates</directory>
<targetPath>${project.basedir}</targetPath>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- Sign the apk -->
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion res/xml/accessory_filter.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- The version is updated automaticly by Maven -->
<usb-accessory manufacturer="TKJ Electronics" model="Balanduino" version="0.4" />
<usb-accessory manufacturer="TKJ Electronics" model="Balanduino" version="0.3" />
</resources>
5 changes: 5 additions & 0 deletions src/templates/res/xml/accessory_filter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- The version is updated automaticly by Maven -->
<usb-accessory manufacturer="TKJ Electronics" model="Balanduino" version="${project.version}" />
</resources>

0 comments on commit fa9abc3

Please sign in to comment.