Skip to content

Commit

Permalink
Improved project setup, incl. antlr builder
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Oct 27, 2016
1 parent 8ee17dd commit 8a4ae51
Show file tree
Hide file tree
Showing 77 changed files with 133,177 additions and 132,866 deletions.
16 changes: 8 additions & 8 deletions base/org.codehaus.groovy18/.classpath
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin-trace" path="src-trace"/>
<classpathentry kind="src" path="src" output="bin"/>
<classpathentry kind="src" path="src-trace" output="bin-trace"/>

<classpathentry kind="lib" path="lib/bsf-2.4.0.jar" sourcepath="lib/bsf-2.4.0-sources.jar" exported="true"/>
<classpathentry kind="lib" path="lib/ivy-2.2.0.jar" sourcepath="lib/ivy-2.2.0-sources.jar" exported="true"/>
<classpathentry kind="lib" path="lib/groovy-all-1.8.6.jar" sourcepath="lib/groovy-all-1.8.6-sources.jar" exported="true"/>

<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry exported="true" kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry exported="true" kind="lib" path="lib/bsf-2.4.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/ivy-2.2.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/groovy-all-1.8.6.jar" sourcepath="lib/groovy-all-1.8.6-sources.jar"/>
<classpathentry kind="lib" path="lib/servlet-api-2.4.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
@@ -0,0 +1,19 @@
<?xml version="1.0" standalone="no"?>

<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_CLEAN_TARGETS" value="clean," />
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true" />
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false" />
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;resources&gt;&lt;item path=&quot;/org.codehaus.groovy18&quot; type=&quot;4&quot;/&gt;&lt;/resources&gt;}" />
<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false" />
<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false" />
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false" />
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider" />
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true" />
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="" />
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;resources&gt;&lt;item path=&quot;/org.codehaus.groovy18/src/org/codehaus/groovy/antlr/groovy.g&quot; type=&quot;1&quot;/&gt;&lt;/resources&gt;}" />
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${build_project:build.antlr2x}" />
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="incremental,auto,clean" />
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true" />
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${build_project:src/org/codehaus/groovy/antlr}" />
</launchConfiguration>
23 changes: 14 additions & 9 deletions base/org.codehaus.groovy18/.project
@@ -1,29 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.codehaus.groovy18</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>auto,full,incremental,clean,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/Ant Builder.launch</value>
</dictionary>
<dictionary>
<key>incclean</key>
<value>true</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
line.separator=\n
102 changes: 90 additions & 12 deletions base/org.codehaus.groovy18/.settings/org.eclipse.jdt.core.prefs
@@ -1,12 +1,90 @@
#Sat Oct 04 20:16:40 CDT 2008
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.5
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.5
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.5
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.doc.comment.support=disabled
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=warning
org.eclipse.jdt.core.compiler.problem.deprecation=ignore
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=ignore
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedImport=ignore
org.eclipse.jdt.core.compiler.problem.unusedLabel=ignore
org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=warning
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.5
org.eclipse.jdt.core.formatter.tabulation.char=space
org.eclipse.jdt.core.formatter.tabulation.size=4
29 changes: 16 additions & 13 deletions base/org.codehaus.groovy18/META-INF/MANIFEST.MF
Expand Up @@ -2,13 +2,13 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Groovy Runtime Plug-in
Bundle-SymbolicName: org.codehaus.groovy
Bundle-Vendor: Codehaus.org
Bundle-Version: 1.8.6.qualifier
Bundle-ClassPath: groovy-eclipse.jar,
lib/ivy-2.2.0.jar,
Bundle-ClassPath: eclipse-trace.jar,
groovy-eclipse.jar,
lib/bsf-2.4.0.jar,
lib/groovy-all-1.8.6.jar,
eclipse-trace.jar
Groovy-Runtime-Jars: groovy.jar
lib/ivy-2.2.0.jar,
lib/groovy-all-1.8.6.jar
Export-Package: groovy.beans,
groovy.grape,
groovy.inspect,
Expand Down Expand Up @@ -80,6 +80,7 @@ Export-Package: groovy.beans,
org.codehaus.groovy.ast.builder,
org.codehaus.groovy.ast.expr,
org.codehaus.groovy.ast.stmt,
org.codehaus.groovy.ast.tools,
org.codehaus.groovy.binding,
org.codehaus.groovy.bsf,
org.codehaus.groovy.classgen,
Expand Down Expand Up @@ -107,6 +108,9 @@ Export-Package: groovy.beans,
org.codehaus.groovy.tools.ast,
org.codehaus.groovy.tools.groovydoc,
org.codehaus.groovy.tools.groovydoc.gstringTemplates,
org.codehaus.groovy.tools.groovydoc.gstringTemplates.classLevel,
org.codehaus.groovy.tools.groovydoc.gstringTemplates.packageLevel,
org.codehaus.groovy.tools.groovydoc.gstringTemplates.topLevel,
org.codehaus.groovy.tools.gse,
org.codehaus.groovy.tools.javac,
org.codehaus.groovy.tools.shell,
Expand All @@ -118,15 +122,14 @@ Export-Package: groovy.beans,
org.codehaus.groovy.vmplugin,
org.codehaus.groovy.vmplugin.v4,
org.codehaus.groovy.vmplugin.v5,
org.codehaus.groovy.vmplugin.v6
Require-Bundle: org.apache.ant,
org.junit,
org.eclipse.core.runtime,
org.apache.commons.logging;resolution:=optional,
org.mozilla.javascript;resolution:=optional
Bundle-Vendor: Codehaus.org
org.codehaus.groovy.vmplugin.v6,
org.codehaus.groovy.vmplugin.v7
Require-Bundle: org.eclipse.core.runtime,
org.apache.ant;resolution:=optional,
org.junit;resolution:=optional
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Activator: org.codehaus.groovy.activator.GroovyActivator
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Groovy-Runtime-Jars: groovy.jar
Eclipse-BuddyPolicy: registered
Eclipse-BundleShape: dir
25 changes: 8 additions & 17 deletions base/org.codehaus.groovy18/VERSION
@@ -1,17 +1,8 @@
04-Aug-09: groovy 1.7beta1 tag17153
13-Oct-09: groovy 1.7beta2 tag17962
28-Nov-09: groovy 1.7rc1 tag18436
23-Dec-09: groovy 1.7.0
07-Apr-10: groovy 1.7.2 tag19775
14-Jun-10: groovy 1.7.3 tag20280
22-Sep-10: groovy 1.7.5 tag20761
06-Feb-11: groovy 1.7.7 tag21482
16-Feb-11: groovy 1.7.8 tag21550
16-Mar-11: groovy 1.8.0-rc-2 tag21780
04-May-11: groovy 1.8.0 tag22084
29-Jul-11: groovy 1.8.1 tag22643
06-Sep-11: groovy 1.8.2 git tag
13-Oct-11: groovy 1.8.3
14-Nov-11: groovy 1.8.4
26-Jan-12: groovy 1.8.5
13-Feb-12: groovy 1.8.6
16-Mar-11: groovy 1.8.0-rc-2 tag21780
04-May-11: groovy 1.8.0 tag22084
29-Jul-11: groovy 1.8.1 tag22643
06-Sep-11: groovy 1.8.2
13-Oct-11: groovy 1.8.3
14-Nov-11: groovy 1.8.4
26-Jan-12: groovy 1.8.5
13-Feb-12: groovy 1.8.6
16 changes: 16 additions & 0 deletions base/org.codehaus.groovy18/build.antlr2x
@@ -0,0 +1,16 @@
<project default="build">

<target name="build" depends="clean">
<java classname="groovyjarjarantlr.Tool" classpath="../../../../../lib/groovy-all-1.8.6.jar" dir="${basedir}" fork="true">
<arg line="-o parser groovy.g" />
</java>
<replaceregexp byline="true" flags="g" match="\bimport antlr." replace="import groovyjarjarantlr.">
<fileset dir="parser" includes="*.java" />
</replaceregexp>
</target>

<target name="clean">
<delete dir="parser" quiet="true" />
</target>

</project>
13 changes: 7 additions & 6 deletions base/org.codehaus.groovy18/build.properties
@@ -1,24 +1,25 @@
bin.excludes = lib/*-sources.jar
bin.includes = META-INF/,\
groovy-eclipse.jar,\
lib/,\
conf/,\
eclipse-trace.jar,\
groovy-eclipse.jar,\
plugin_dsld_support/,\
extras/,\
about_files/,\
about.html,\
VERSION
src.includes = customBuildCallbacks.xml,\
VERSION,\
src.includes = about_files/,\
about.html,\
about_files/
jars.compile.order = eclipse-trace.jar,\
groovy-eclipse.jar
VERSION
output.groovy-eclipse.jar = bin/
source.groovy-eclipse.jar = src/
output.eclipse-trace.jar = bin-trace/
source.eclipse-trace.jar = src-trace/

jars.compile.order=eclipse-trace.jar, groovy-eclipse.jar
jars.extra.classpath=platform:/plugin/org.junit/junit.jar

#customBuildCallbacks=customBuildCallbacks.xml

sourceFileExtensions=*.java, *.groovy
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 8a4ae51

Please sign in to comment.