You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ea...@apache.org on 2007/03/06 23:24:57 UTC

svn commit: r515325 - in /incubator/uima/uimacpp/trunk/examples: .cdtproject .project dot.gdbinit run_configuration/ run_configuration/runAECpp.launch

Author: eae
Date: Tue Mar  6 14:24:56 2007
New Revision: 515325

URL: http://svn.apache.org/viewvc?view=rev&rev=515325
Log:
UIMA-276

Added:
    incubator/uima/uimacpp/trunk/examples/.cdtproject
    incubator/uima/uimacpp/trunk/examples/.project
    incubator/uima/uimacpp/trunk/examples/dot.gdbinit
    incubator/uima/uimacpp/trunk/examples/run_configuration/
    incubator/uima/uimacpp/trunk/examples/run_configuration/runAECpp.launch

Added: incubator/uima/uimacpp/trunk/examples/.cdtproject
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/examples/.cdtproject?view=auto&rev=515325
==============================================================================
--- incubator/uima/uimacpp/trunk/examples/.cdtproject (added)
+++ incubator/uima/uimacpp/trunk/examples/.cdtproject Tue Mar  6 14:24:56 2007
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse-cdt version="2.0"?>
+
+<cdtproject id="org.eclipse.cdt.make.core.make">
+<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<data>
+<item id="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="false" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="false"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="false" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="false"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="false" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="false"/>
+</scannerInfoProvider>
+</profile>
+</item>
+<item id="org.eclipse.cdt.core.pathentry">
+<pathentry kind="src" path=""/>
+<pathentry kind="out" path=""/>
+<pathentry kind="con" path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/>
+</item>
+</data>
+</cdtproject>

Added: incubator/uima/uimacpp/trunk/examples/.project
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/examples/.project?view=auto&rev=515325
==============================================================================
--- incubator/uima/uimacpp/trunk/examples/.project (added)
+++ incubator/uima/uimacpp/trunk/examples/.project Tue Mar  6 14:24:56 2007
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>uimacpp-examples</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.cdt.make.core.makeBuilder</name>
+			<triggers>clean,full,incremental,</triggers>
+			<arguments>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.target.inc</key>
+					<value>all</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.arguments</key>
+					<value>-f all.mak</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.environment</key>
+					<value>UIMACPP_HOME=/uimacpp-common/apache-uima/uimacpp|</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.target.auto</key>
+					<value>all</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.target.full</key>
+					<value>clean all</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.location</key>
+					<value>/uimacpp-examples/src</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.command</key>
+					<value>make</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.stopOnError</key>
+					<value>false</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.append_environment</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.build.target.clean</key>
+					<value>clean</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.core.errorOutputParser</key>
+					<value>org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser;</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enableFullBuild</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+					<value>false</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+					<value>false</value>
+				</dictionary>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.cdt.core.cnature</nature>
+		<nature>org.eclipse.cdt.make.core.makeNature</nature>
+		<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>
+		<nature>org.eclipse.cdt.core.ccnature</nature>
+	</natures>
+</projectDescription>

Added: incubator/uima/uimacpp/trunk/examples/dot.gdbinit
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/examples/dot.gdbinit?view=auto&rev=515325
==============================================================================
--- incubator/uima/uimacpp/trunk/examples/dot.gdbinit (added)
+++ incubator/uima/uimacpp/trunk/examples/dot.gdbinit Tue Mar  6 14:24:56 2007
@@ -0,0 +1,42 @@
+define printuchar
+ dont-repeat
+ set $i=0
+ set $s=$arg0
+ set $n=$arg1
+ while $i<$n
+  if 0 == *($s + $i)
+    loop_break
+  end
+  printf "%c", *($s + $i++)
+ end
+ printf "\n"
+end
+
+define printusref
+ dont-repeat
+ set $i=0
+ set $s=$arg0->iv_pUChars
+ set $n=$arg0->iv_uiLength
+ while $i<$n
+  if 0 == *($s + $i)
+    loop_break
+  end
+  printf "%c", *($s + $i++)
+ end
+ printf "\n"
+end
+
+
+define printus
+ dont-repeat
+ set $i=0
+ set $s=$arg0->fArray
+ set $n=$arg0->fLength
+ while $i<$n
+  if 0 == *($s + $i)
+    loop_break
+  end
+  printf "%c", *($s + $i++)
+ end
+ printf "\n"
+end

Added: incubator/uima/uimacpp/trunk/examples/run_configuration/runAECpp.launch
URL: http://svn.apache.org/viewvc/incubator/uima/uimacpp/trunk/examples/run_configuration/runAECpp.launch?view=auto&rev=515325
==============================================================================
--- incubator/uima/uimacpp/trunk/examples/run_configuration/runAECpp.launch (added)
+++ incubator/uima/uimacpp/trunk/examples/run_configuration/runAECpp.launch Tue Mar  6 14:24:56 2007
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration type="org.eclipse.cdt.launch.localCLaunch">
+<listAttribute key="org.eclipse.cdt.debug.mi.core.SOLIB_PATH"/>
+<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_VARIABLE_BOOKKEEPING" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.mi.core.AUTO_SOLIB" value="true"/>
+<stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="gdb"/>
+<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.mi.core.STOP_ON_SOLIB_EVENTS" value="false"/>
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="/uimacpp-common/apache-uima/uimacpp/bin/runAECpp"/>
+<stringAttribute key="org.eclipse.cdt.launch.WORKING_DIRECTORY" value="${workspace_loc:uimacpp-examples}"/>
+<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
+<stringAttribute key="org.eclipse.cdt.debug.mi.core.GDB_INIT" value=""/>
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="descriptors/DaveDetector.xml data/example.txt"/>
+<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="org.eclipse.cdt.debug.mi.core.CDebugger"/>
+<stringAttribute key="org.eclipse.cdt.launch.protocol" value="mi"/>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="LD_LIBRARY_PATH" value="${project_loc:uimacpp-examples}/src:${env_var:UIMA_HOME}/uimacpp/lib"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="uimacpp-examples"/>
+<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_REGISTER_BOOKKEEPING" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.launch.use_terminal" value="true"/>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+</launchConfiguration>