Fix compilation error

This commit is contained in:
Victor Shcherb 2012-05-12 09:49:04 +02:00
parent 6b69db1ac6
commit a0f83b91be
3 changed files with 5 additions and 3 deletions

View file

@ -3,12 +3,13 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import net.osmand.LogUtil;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class _R { public class _R {
private static final Log log = LogFactory.getLog(_R.class); private static final Log log = LogUtil.getLog(_R.class);
public static byte[] getIconData(String data) { public static byte[] getIconData(String data) {
InputStream io = _R.class.getResourceAsStream("h_" + data + ".png"); InputStream io = _R.class.getResourceAsStream("h_" + data + ".png");

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry excluding="net/osmand/LogUtil.java|net/osmand/swing/|net/osmand/data/preparation/|net/osmand/osm/util/|net/osmand/data/index/|net/osmand/osm/io/OsmStorageWriter.java" kind="src" path="use"/> <classpathentry excluding="net/osmand/LogUtil.java|net/osmand/swing/|net/osmand/data/preparation/|net/osmand/osm/util/|net/osmand/data/index/|net/osmand/osm/io/OsmStorageWriter.java|resources/" kind="src" path="use"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>

View file

@ -236,6 +236,7 @@
<exclude name="**/net/osmand/data/preparation/" /> <exclude name="**/net/osmand/data/preparation/" />
<exclude name="**/net/osmand/osm/util/" /> <exclude name="**/net/osmand/osm/util/" />
<exclude name="**/net/osmand/swing/" /> <exclude name="**/net/osmand/swing/" />
<exclude name="**/resources/" />
<exclude name="**/rtree/" /> <exclude name="**/rtree/" />
<!-- osmchange --> <!-- osmchange -->
</javac> </javac>