[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-dev] parser generation automation?
|
I personally use a variant of what we have in the Object Teams project at:
https://git.eclipse.org/c/objectteams/org.eclipse.objectteams.git/tree/org.eclipse.jdt.core/scripts
I'll attach the variant that works for plain JDT/Core (if the list accepts
attachments), to be placed into org.eclipse.jdt.core/scripts/
HTH,
Stephan
PS: LMK if jikespg crashes. I have a private git repo with several bug fixes.
On 16.10.19 20:22, Richard Steiger wrote:
Folks,
I'm wanting to experiment with ejc syntax and semantics mods, requiring
rebuilding ejc. I found
https://www.eclipse.org/jdt/core/howto/generate%20parser/generateParser.html.
Anyone know if this simple (and foolproof!) 314.159.-step procedure's been a bit
more abstracted into a build script?
Thanks,
-rjs
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/jdt-dev
Attachment:
generateOTParser.sh
Description: application/shellscript
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
<stringAttribute key="bad_container_name" value="/org.eclipse.jdt.core/scripts/generateParser.launch"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser" type="2"/> </resources>}"/>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="JAVAC" value="/home/java/jdk1.8.0/bin/javac"/>
<mapEntry key="JIKESPG_HOME" value="${system_property:user.home}/bin"/>
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${project}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.jdt.core/scripts/generateOTParser.sh}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="../grammar/java.g .."/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/org.eclipse.jdt.core/scripts}"/>
</launchConfiguration>