summaryrefslogtreecommitdiffstats
path: root/tools/idegen/src/Main.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:04:04 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:04:04 -0800
commite943f2fd8e7623ba3ea12bb65294d30446db4174 (patch)
treeeda2f24648d61fb33f3fa754d9fb4b5693517e0c /tools/idegen/src/Main.java
parent5c11852110eeb03dc5a69111354b383f98d15336 (diff)
downloadandroid_development-e943f2fd8e7623ba3ea12bb65294d30446db4174.tar.gz
android_development-e943f2fd8e7623ba3ea12bb65294d30446db4174.tar.bz2
android_development-e943f2fd8e7623ba3ea12bb65294d30446db4174.zip
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'tools/idegen/src/Main.java')
-rw-r--r--tools/idegen/src/Main.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/tools/idegen/src/Main.java b/tools/idegen/src/Main.java
new file mode 100644
index 000000000..294dbee17
--- /dev/null
+++ b/tools/idegen/src/Main.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.File;
+import java.io.FileFilter;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.BufferedReader;
+import java.io.FileNotFoundException;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.SortedSet;
+import java.util.TreeSet;
+
+/**
+ * Generates IntelliJ and Eclipse project configurations.
+ */
+public class Main {
+
+ public static void main(String[] args) throws Exception {
+ Configuration configuration = new Configuration();
+ IntelliJ.generateFrom(configuration);
+ Eclipse.generateFrom(configuration);
+ }
+}