From: Marius Gavrilescu Date: Mon, 8 Jul 2013 06:26:46 +0000 (+0300) Subject: Convert to Ant from Eclipse X-Git-Tag: 0.000_001~33 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=031cea53bcac2f79e51e859a42092ba19c9e7908;p=fonbot.git Convert to Ant from Eclipse --- diff --git a/.classpath b/.classpath deleted file mode 100644 index 2735db2..0000000 --- a/.classpath +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/.gitignore b/.gitignore index 7792e06..f61265c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ bin/ gen/ +local.properties diff --git a/.pmd b/.pmd deleted file mode 100644 index d51ca6c..0000000 --- a/.pmd +++ /dev/null @@ -1,825 +0,0 @@ - - - false - .ruleset - - - AbstractClassWithoutAbstractMethod - Design Rules - - - AbstractClassWithoutAnyMethod - Design Rules - - - AccessorClassGeneration - Design Rules - - - AddEmptyString - Optimization Rules - - - AppendCharacterWithChar - String and StringBuffer Rules - - - ArrayIsStoredDirectly - Security Code Guidelines - - - AssignmentInOperand - Controversial Rules - - - AssignmentToNonFinalStatic - Design Rules - - - AtLeastOneConstructor - Controversial Rules - - - AvoidAccessibilityAlteration - Controversial Rules - - - AvoidArrayLoops - Optimization Rules - - - AvoidAssertAsIdentifier - Migration Rules - - - AvoidCallingFinalize - Finalizer Rules - - - AvoidCatchingNPE - Strict Exception Rules - - - AvoidCatchingThrowable - Strict Exception Rules - - - AvoidConstantsInterface - Design Rules - - - AvoidDecimalLiteralsInBigDecimalConstructor - Basic Rules - - - AvoidDeeplyNestedIfStmts - Design Rules - - - AvoidDollarSigns - Naming Rules - - - AvoidDuplicateLiterals - String and StringBuffer Rules - - - AvoidEnumAsIdentifier - Migration Rules - - - AvoidFieldNameMatchingMethodName - Naming Rules - - - AvoidFieldNameMatchingTypeName - Naming Rules - - - AvoidInstanceofChecksInCatchClause - Design Rules - - - AvoidMultipleUnaryOperators - Basic Rules - - - AvoidPrintStackTrace - Java Logging Rules - - - AvoidProtectedFieldInFinalClass - Design Rules - - - AvoidReassigningParameters - Design Rules - - - AvoidRethrowingException - Strict Exception Rules - - - AvoidStringBufferField - String and StringBuffer Rules - - - AvoidSynchronizedAtMethodLevel - Design Rules - - - AvoidThreadGroup - Basic Rules - - - AvoidThrowingNewInstanceOfSameException - Strict Exception Rules - - - AvoidThrowingNullPointerException - Strict Exception Rules - - - AvoidThrowingRawExceptionTypes - Strict Exception Rules - - - AvoidUsingHardCodedIP - Basic Rules - - - AvoidUsingNativeCode - Controversial Rules - - - AvoidUsingOctalValues - Basic Rules - - - AvoidUsingShortType - Controversial Rules - - - BadComparison - Design Rules - - - BigIntegerInstantiation - Basic Rules - - - BooleanGetMethodName - Naming Rules - - - BooleanInstantiation - Basic Rules - - - BooleanInversion - Controversial Rules - - - BrokenNullCheck - Basic Rules - - - ByteInstantiation - Migration Rules - - - CallSuperInConstructor - Controversial Rules - - - CheckResultSet - Basic Rules - - - ClassCastExceptionWithToArray - Basic Rules - - - ClassNamingConventions - Naming Rules - - - ClassWithOnlyPrivateConstructorsShouldBeFinal - Design Rules - - - CloneMethodMustImplementCloneable - Type Resolution Rules - - - CloneThrowsCloneNotSupportedException - Clone Implementation Rules - - - CloseResource - Design Rules - - - CollapsibleIfStatements - Basic Rules - - - CompareObjectsWithEquals - Design Rules - - - ConfusingTernary - Design Rules - - - ConsecutiveLiteralAppends - String and StringBuffer Rules - - - ConstructorCallsOverridableMethod - Design Rules - - - CouplingBetweenObjects - Coupling Rules - - - DefaultLabelNotLastInSwitchStmt - Design Rules - - - DefaultPackage - Controversial Rules - - - DoNotCallGarbageCollectionExplicitly - Controversial Rules - - - DoNotExtendJavaLangError - Strict Exception Rules - - - DoNotThrowExceptionInFinally - Strict Exception Rules - - - DontImportJavaLang - Import Statement Rules - - - DontImportSun - Controversial Rules - - - DoubleCheckedLocking - Basic Rules - - - DuplicateImports - Import Statement Rules - - - EmptyCatchBlock - Basic Rules - - - EmptyFinalizer - Finalizer Rules - - - EmptyFinallyBlock - Basic Rules - - - EmptyIfStmt - Basic Rules - - - EmptyInitializer - Basic Rules - - - EmptyMethodInAbstractClassShouldBeAbstract - Design Rules - - - EmptyStatementNotInLoop - Basic Rules - - - EmptyStaticInitializer - Basic Rules - - - EmptySwitchStatements - Basic Rules - - - EmptySynchronizedBlock - Basic Rules - - - EmptyTryBlock - Basic Rules - - - EmptyWhileStmt - Basic Rules - - - EqualsNull - Design Rules - - - ExceptionAsFlowControl - Strict Exception Rules - - - ExcessiveClassLength - Code Size Rules - - - ExcessiveImports - Coupling Rules - - - ExcessiveMethodLength - Code Size Rules - - - ExcessiveParameterList - Code Size Rules - - - ExcessivePublicCount - Code Size Rules - - - FinalFieldCouldBeStatic - Design Rules - - - FinalizeDoesNotCallSuperFinalize - Finalizer Rules - - - FinalizeOnlyCallsSuperFinalize - Finalizer Rules - - - FinalizeOverloaded - Finalizer Rules - - - FinalizeShouldBeProtected - Finalizer Rules - - - ForLoopShouldBeWhileLoop - Basic Rules - - - IdempotentOperations - Design Rules - - - ImmutableField - Design Rules - - - ImportFromSamePackage - Import Statement Rules - - - InefficientEmptyStringCheck - String and StringBuffer Rules - - - InefficientStringBuffering - String and StringBuffer Rules - - - InstantiationToGetClass - Design Rules - - - InsufficientStringBufferDeclaration - String and StringBuffer Rules - - - IntegerInstantiation - Migration Rules - - - JumbledIncrementer - Basic Rules - - - JUnit4SuitesShouldUseSuiteAnnotation - Migration Rules - - - JUnit4TestShouldUseAfterAnnotation - Migration Rules - - - JUnit4TestShouldUseBeforeAnnotation - Migration Rules - - - JUnit4TestShouldUseTestAnnotation - Migration Rules - - - JUnitAssertionsShouldIncludeMessage - JUnit Rules - - - JUnitSpelling - JUnit Rules - - - JUnitStaticSuite - JUnit Rules - - - JUnitTestsShouldIncludeAssert - JUnit Rules - - - JUnitUseExpected - Migration Rules - - - LocalVariableCouldBeFinal - Optimization Rules - - - LoggerIsNotStaticFinal - Java Logging Rules - - - LongInstantiation - Migration Rules - - - LooseCoupling - Type Resolution Rules - - - MethodArgumentCouldBeFinal - Optimization Rules - - - MethodNamingConventions - Naming Rules - - - MethodReturnsInternalArray - Security Code Guidelines - - - MethodWithSameNameAsEnclosingClass - Naming Rules - - - MisleadingVariableName - Naming Rules - - - MisplacedNullCheck - Basic Rules - - - MissingBreakInSwitch - Design Rules - - - MissingSerialVersionUID - JavaBean Rules - - - MissingStaticMethodInNonInstantiatableClass - Design Rules - - - MoreThanOneLogger - Java Logging Rules - - - NcssConstructorCount - Code Size Rules - - - NcssMethodCount - Code Size Rules - - - NcssTypeCount - Code Size Rules - - - NonCaseLabelInSwitchStatement - Design Rules - - - NonStaticInitializer - Design Rules - - - NonThreadSafeSingleton - Design Rules - - - NoPackage - Naming Rules - - - NullAssignment - Controversial Rules - - - OptimizableToArrayCall - Design Rules - - - OverrideBothEqualsAndHashcode - Basic Rules - - - PackageCase - Naming Rules - - - PositionLiteralsFirstInComparisons - Design Rules - - - PreserveStackTrace - Design Rules - - - ProperCloneImplementation - Clone Implementation Rules - - - ProperLogger - Jakarta Commons Logging Rules - - - ReplaceEnumerationWithIterator - Migration Rules - - - ReplaceHashtableWithMap - Migration Rules - - - ReplaceVectorWithList - Migration Rules - - - ReturnEmptyArrayRatherThanNull - Design Rules - - - ReturnFromFinallyBlock - Basic Rules - - - ShortInstantiation - Migration Rules - - - ShortMethodName - Naming Rules - - - SignatureDeclareThrowsException - Type Resolution Rules - - - SimpleDateFormatNeedsLocale - Design Rules - - - SimplifyBooleanAssertion - JUnit Rules - - - SimplifyBooleanExpressions - Design Rules - - - SimplifyBooleanReturns - Design Rules - - - SimplifyConditional - Design Rules - - - SimplifyStartsWith - Optimization Rules - - - SingularField - Design Rules - - - StringBufferInstantiationWithChar - String and StringBuffer Rules - - - StringInstantiation - String and StringBuffer Rules - - - StringToString - String and StringBuffer Rules - - - SuspiciousConstantFieldName - Naming Rules - - - SuspiciousEqualsMethodName - Naming Rules - - - SuspiciousHashcodeMethodName - Naming Rules - - - SuspiciousOctalEscape - Controversial Rules - - - SwitchDensity - Design Rules - - - SystemPrintln - Java Logging Rules - - - TestClassWithoutTestCases - JUnit Rules - - - TooManyStaticImports - Import Statement Rules - - - UncommentedEmptyConstructor - Design Rules - - - UncommentedEmptyMethod - Design Rules - - - UnconditionalIfStatement - Basic Rules - - - UnnecessaryBooleanAssertion - JUnit Rules - - - UnnecessaryCaseChange - String and StringBuffer Rules - - - UnnecessaryConstructor - Controversial Rules - - - UnnecessaryConversionTemporary - Basic Rules - - - UnnecessaryFinalModifier - Basic Rules - - - UnnecessaryLocalBeforeReturn - Design Rules - - - UnnecessaryParentheses - Controversial Rules - - - UnnecessaryReturn - Basic Rules - - - UnnecessaryWrapperObjectCreation - Optimization Rules - - - UnsynchronizedStaticDateFormatter - Design Rules - - - UnusedFormalParameter - Unused Code Rules - - - UnusedLocalVariable - Unused Code Rules - - - UnusedModifier - Controversial Rules - - - UnusedNullCheckInEquals - Basic Rules - - - UnusedPrivateField - Unused Code Rules - - - UnusedPrivateMethod - Unused Code Rules - - - UseArrayListInsteadOfVector - Optimization Rules - - - UseArraysAsList - Optimization Rules - - - UseAssertEqualsInsteadOfAssertTrue - JUnit Rules - - - UseAssertNullInsteadOfAssertTrue - JUnit Rules - - - UseAssertSameInsteadOfAssertTrue - JUnit Rules - - - UseCollectionIsEmpty - Design Rules - - - UseCorrectExceptionLogging - Jakarta Commons Logging Rules - - - UseEqualsToCompareStrings - String and StringBuffer Rules - - - UseIndexOfChar - String and StringBuffer Rules - - - UselessOperationOnImmutable - Basic Rules - - - UselessOverridingMethod - Basic Rules - - - UselessStringValueOf - String and StringBuffer Rules - - - UseLocaleWithCaseConversions - Design Rules - - - UseNotifyAllInsteadOfNotify - Design Rules - - - UseSingleton - Design Rules - - - UseStringBufferForStringAppends - Optimization Rules - - - UseStringBufferLength - String and StringBuffer Rules - - - VariableNamingConventions - Naming Rules - - - false - true - diff --git a/.project b/.project deleted file mode 100644 index 799c0bc..0000000 --- a/.project +++ /dev/null @@ -1,33 +0,0 @@ - - - FonBot - - - - - - com.android.ide.eclipse.adt.ResourceManagerBuilder - - - - - com.android.ide.eclipse.adt.PreCompilerBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - com.android.ide.eclipse.adt.ApkBuilder - - - - - - com.android.ide.eclipse.adt.AndroidNature - org.eclipse.jdt.core.javanature - - diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 8000cd6..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,11 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/ant.properties b/ant.properties new file mode 100644 index 0000000..73031c7 --- /dev/null +++ b/ant.properties @@ -0,0 +1,16 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..7f2b9c1 --- /dev/null +++ b/build.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Instrumenting classes from ${out.absolute.dir}/classes... + + + + + + + + + + + + + + + + + + + + + + diff --git a/proguard-project.txt b/proguard-project.txt deleted file mode 100644 index 5a93951..0000000 --- a/proguard-project.txt +++ /dev/null @@ -1,21 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html --dontobfuscate --libraryjars org.eclipse.jdt.annotation_1.0.0.dist.jar -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#}