More end of line fixes.
2011-01-01T20:38:45Z!koraq@xs4all.nl fixed the issue so touched all files to uncover more cases.
This commit is contained in:
parent
9f0e16e724
commit
e12ef64a87
9 changed files with 9191 additions and 9191 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,105 +1,105 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ecore:EPackage xmi:version="2.0"
|
||||
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="wML"
|
||||
nsURI="http://www.wesnoth.org/WML" nsPrefix="wML">
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLRoot">
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLTag">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="plus" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Keys" upperBound="-1" eType="#//WMLKey"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLKey">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="value" upperBound="-1"
|
||||
eType="#//WMLKeyValue" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="eol" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLKeyValue"/>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLMacroCall" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="point" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="relative" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="params" upperBound="-1"
|
||||
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="extraMacros" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLLuaCode" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLArrayCall" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="value" upperBound="-1"
|
||||
eType="#//WMLValue" containment="true"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLMacroDefine">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Keys" upperBound="-1" eType="#//WMLKey"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Values" upperBound="-1"
|
||||
eType="#//WMLValue" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLPreprocIF">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Keys" upperBound="-1" eType="#//WMLKey"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Values" upperBound="-1"
|
||||
eType="#//WMLValue" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Elses" unique="false" upperBound="-1"
|
||||
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLTextdomain">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLValue" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="MacroTokens">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="val" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
</ecore:EPackage>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ecore:EPackage xmi:version="2.0"
|
||||
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="wML"
|
||||
nsURI="http://www.wesnoth.org/WML" nsPrefix="wML">
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLRoot">
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLTag">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="plus" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Keys" upperBound="-1" eType="#//WMLKey"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLKey">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="value" upperBound="-1"
|
||||
eType="#//WMLKeyValue" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="eol" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLKeyValue"/>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLMacroCall" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="point" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="relative" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="params" upperBound="-1"
|
||||
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="extraMacros" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLLuaCode" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLArrayCall" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="value" upperBound="-1"
|
||||
eType="#//WMLValue" containment="true"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLMacroDefine">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Keys" upperBound="-1" eType="#//WMLKey"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Values" upperBound="-1"
|
||||
eType="#//WMLValue" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLPreprocIF">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Tags" upperBound="-1" eType="#//WMLTag"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Keys" upperBound="-1" eType="#//WMLKey"
|
||||
containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroCalls" upperBound="-1"
|
||||
eType="#//WMLMacroCall" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="MacroDefines" upperBound="-1"
|
||||
eType="#//WMLMacroDefine" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Textdomains" upperBound="-1"
|
||||
eType="#//WMLTextdomain" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="Values" upperBound="-1"
|
||||
eType="#//WMLValue" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EReference" name="IfDefs" upperBound="-1"
|
||||
eType="#//WMLPreprocIF" containment="true"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Elses" unique="false" upperBound="-1"
|
||||
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLTextdomain">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="WMLValue" eSuperTypes="#//WMLKeyValue">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="MacroTokens">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="val" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
</eClassifiers>
|
||||
</ecore:EPackage>
|
||||
|
|
|
@ -1,81 +1,81 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<genmodel:GenModel xmi:version="2.0"
|
||||
xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
|
||||
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.wesnoth.wml/src-gen"
|
||||
editDirectory="/org.wesnoth.wml.edit/src" editorDirectory="/org.wesnoth.wml.editor/src"
|
||||
modelPluginID="org.wesnoth.wml" forceOverwrite="true" modelName="WML" updateClasspath="false"
|
||||
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0"
|
||||
copyrightFields="false" editPluginID="org.wesnoth.wml.edit" editorPluginID="org.wesnoth.wml.editor">
|
||||
<genPackages prefix="WML" basePackage="org.wesnoth" disposableProviderFactory="true"
|
||||
ecorePackage="WML.ecore#/">
|
||||
<genClasses ecoreClass="WML.ecore#//WMLRoot">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/IfDefs"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLTag">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTag/plus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTag/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/Keys"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/IfDefs"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTag/endName"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLKey">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLKey/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLKey/value"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLKey/eol"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLKeyValue"/>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLMacroCall">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroCall/point"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroCall/relative"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroCall/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroCall/params"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroCall/extraMacros"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLLuaCode">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLLuaCode/value"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLArrayCall">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLArrayCall/value"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLMacroDefine">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroDefine/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Keys"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Values"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/IfDefs"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroDefine/endName"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLPreprocIF">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLPreprocIF/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Keys"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Values"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/IfDefs"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLPreprocIF/Elses"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLPreprocIF/endName"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLTextdomain">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTextdomain/name"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLValue">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLValue/value"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//MacroTokens">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//MacroTokens/val"/>
|
||||
</genClasses>
|
||||
</genPackages>
|
||||
</genmodel:GenModel>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<genmodel:GenModel xmi:version="2.0"
|
||||
xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
|
||||
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.wesnoth.wml/src-gen"
|
||||
editDirectory="/org.wesnoth.wml.edit/src" editorDirectory="/org.wesnoth.wml.editor/src"
|
||||
modelPluginID="org.wesnoth.wml" forceOverwrite="true" modelName="WML" updateClasspath="false"
|
||||
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0"
|
||||
copyrightFields="false" editPluginID="org.wesnoth.wml.edit" editorPluginID="org.wesnoth.wml.editor">
|
||||
<genPackages prefix="WML" basePackage="org.wesnoth" disposableProviderFactory="true"
|
||||
ecorePackage="WML.ecore#/">
|
||||
<genClasses ecoreClass="WML.ecore#//WMLRoot">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLRoot/IfDefs"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLTag">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTag/plus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTag/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/Keys"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLTag/IfDefs"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTag/endName"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLKey">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLKey/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLKey/value"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLKey/eol"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLKeyValue"/>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLMacroCall">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroCall/point"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroCall/relative"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroCall/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroCall/params"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroCall/extraMacros"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLLuaCode">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLLuaCode/value"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLArrayCall">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLArrayCall/value"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLMacroDefine">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroDefine/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Keys"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/Values"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLMacroDefine/IfDefs"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLMacroDefine/endName"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLPreprocIF">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLPreprocIF/name"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Tags"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Keys"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/MacroCalls"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/MacroDefines"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Textdomains"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/Values"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WML.ecore#//WMLPreprocIF/IfDefs"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLPreprocIF/Elses"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLPreprocIF/endName"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLTextdomain">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLTextdomain/name"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//WMLValue">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//WMLValue/value"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="WML.ecore#//MacroTokens">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WML.ecore#//MacroTokens/val"/>
|
||||
</genClasses>
|
||||
</genPackages>
|
||||
</genmodel:GenModel>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,190 +1,190 @@
|
|||
\documentclass[10pt]{article}
|
||||
\usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm]{geometry}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[colorlinks=true]{hyperref}
|
||||
\usepackage{verbatim}
|
||||
\usepackage{enumerate}
|
||||
|
||||
\title{Eclipse Wesnoth UMC Plugin Readme\\ Google Summer of Code 2010 Project}
|
||||
\author{Timotei Dolean - \href{mailto:timotei21@gmail.com}{timotei21@gmail.com}}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\tableofcontents
|
||||
\setcounter{tocdepth}{3}
|
||||
\newpage
|
||||
|
||||
\newcounter{cnt}
|
||||
\newcommand{\icnt}{ \stepcounter{cnt} \thecnt }
|
||||
|
||||
\section{Foreword} \hskip\parindent
|
||||
Through this readme the following terms with the specified meaning will be used:
|
||||
\begin{enumerate}
|
||||
\item Navigator - an Eclipse view that shows the projects in the workspace
|
||||
\item Project - a directory on the harddrive that is represented as a top directory in the navigator.
|
||||
\item Container - this is a directory or a project. Basically it can contain any file or directory children.
|
||||
\end{enumerate}
|
||||
|
||||
The following image will highlight the terms used: 1 - Navigator, 2 - Project, 3 - Containers, 4 - Map files, 5 - Config files that contain WML code
|
||||
|
||||
\includegraphics{definitions.png}
|
||||
|
||||
\section{Common prerequisites}
|
||||
\begin{enumerate}
|
||||
\item Download and install Sun's Java:
|
||||
\begin{enumerate}
|
||||
\item If you are going just to use the plugin (User): \href{https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u21-oth-JPR@CDS-CDS_Developer}{Download JRE}
|
||||
\item If you are going to modify it or run it from source (Developer): \href{http://java.sun.com/javase/downloads/widget/jdk6.jsp}{Download JDK}
|
||||
\end{enumerate}
|
||||
\textit{Note:} Please double check the java installed on your system. On some machines there is the OpenJDK or other Java versions. Use just Sun's so there will be no problems.
|
||||
\item Download and install Python 2.x:
|
||||
\begin{enumerate}
|
||||
\item \textbf{Windows:} Download and install from here: \href{http://python.org/download/}{Download Python} , selecting a 2.x version
|
||||
\item \textbf{Linux:} Use the regular package manager for installing it from the repositories.
|
||||
\item \textbf{Mac:} Download and install from here: \href{http://python.org/download/}{Download Python} , selecting a 2.x version
|
||||
\item Check the guide over here: \href{http://wiki.python.org/moin/BeginnersGuide/Download}{Python Download and install}
|
||||
\end{enumerate}
|
||||
\textit{Note:} Please ensure you install the 2.x versions. Versions 3.x are \textbf{not} supported by the Wesnoth's WML Tools.
|
||||
\item Download ``Eclipse" (The download links are in the right. Please ensure you are downloading the \textbf{3.6} version, otherwise the plugin will not work.):
|
||||
\begin{enumerate}
|
||||
\item If you are going just to use the plugin (User): \href{http://eclipse.org/downloads/packages/eclipse-classic-360/heliosr}{Download Eclipse Classic}
|
||||
\item If you are going to modify it or run it from source (Developer): \href{http://eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/heliosr}{Download Eclipse for RCP and RAP Developers}
|
||||
\end{enumerate}
|
||||
\item Extract the downloaded archive in a known location and launch the executable (eclipse / eclipse.exe)\\
|
||||
\textit{Note:} You will need to have a wesnoth version 1.9.x or newer, or a version compiled from trunk, in order for the plugin's features to correctly work.
|
||||
\end{enumerate}
|
||||
|
||||
\section{User}
|
||||
\subsection{Installing the plugin}
|
||||
\begin{enumerate}
|
||||
\item After launching Eclipse, go to the ``Help'' menu - Install new Software.\\
|
||||
Then, please check ``Group items by category" and ``Contact all update sites during install to find required software", in the bottom of the page.\\ \includegraphics[width=550px]{install_new_software.png}
|
||||
\item Insert the link \textbf{http://eclipse.wesnoth.org/} in the textbox in the top and press Enter. The list will be populated with some items.
|
||||
\item Select the entire ``Wesnoth UMC Plugin" category and press finish.
|
||||
|
||||
\textit{Note:} If you are prompted for any license agreements or certificates press Yes on all (if you agree).\\
|
||||
\textit{Note:} After the plugin has installed, press ``Restart workbench now" when you are prompted.
|
||||
\item Now the plugin is ready to be used.
|
||||
\end{enumerate}
|
||||
|
||||
\section{Developer}
|
||||
\subsection{Setup the environment}
|
||||
\begin{enumerate}
|
||||
\item Open up the ``Install new software" menu, and select from the list: ``Helios - http://download.eclipse.org/releases/helios"
|
||||
\item In the list populated with items, select from the ``Modelling" category: ``Xtext SDK", and install it. Restart eclipse after that.
|
||||
\item Checkout the following folders: ``org.wesnoth", ``org.wesnoth.wml'', ``org.wesnoth.wml.ui" from plugin's folder in the svn (http://svn.gna.org/svn/wesnoth/trunk/utils/java/)
|
||||
\item In Eclipse, right click in \textbf{Package Explorer/Navigator/Project Explorer} and then select \textbf{Import - General - Existing projects into Workspace}
|
||||
\item Select the path where you downloaded the java folder, and check all the 3 projects: ``eclipse\_plugin", ``org.wesnoth.wml'', ``org.wesnoth.wml.ui".
|
||||
\item Build the projects.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Running the plugin} \hskip\parindent
|
||||
After you've setup the environment and built the plugin you can run it.
|
||||
\begin{enumerate}
|
||||
\item Press the dropdown arrow near the ``Run" button in Eclipse's toolbar.
|
||||
\item Press ``Run Configurations...".
|
||||
\item Select ``Eclipse Application" from the category list in the left and then pres the left-most icon, to create a new run configuration.
|
||||
\item Specify a name for the configuration
|
||||
\item Press Run.
|
||||
\end{enumerate}
|
||||
\includegraphics[width=550px]{launch_plugin.png}
|
||||
|
||||
\section{Everybody}
|
||||
\subsection{Using the plugin} \hskip\parindent
|
||||
After you have your plugin installed (user) or running(developer), you can use its features.
|
||||
|
||||
But before of all, you must ``Setup the workspace". For this, go in the ``Wesnoth" menu (it will have the wesnoth icon) and select ``Setup the workspace". You will be guided setting the workspace. The preferences page for the plugin will pop up, and you must fill them all, so the plugin will work as intended. After you completed the fields, press \textbf{Apply} and then \textbf{OK}. Then the plugin will create for convenience wesnoth projects for each of mainline campaigns and for each directory in your \textbf{useraddons/data/add-ons} directory. The working directory is the directory that contains the data, images, manual, sounds of wesnoth.
|
||||
|
||||
If there were no errors a message window will open saying: \textbf{Workspace was setup successfully}.
|
||||
|
||||
\textit{Note:} If you encounter any errors, the plugin logs them in the: \textbf{\textless your temporary directory\textgreater /wesnoth\_plugin/logs}.
|
||||
That is usually on linux:\\
|
||||
\indent \textbf{/tmp/wesnoth\_plugin/logs}\\
|
||||
or on windows:\\
|
||||
\indent \textbf{C:/Documents and settings/\textless your username\textgreater/Local Settings/Temp/wesnoth\_plugin/logs} \\
|
||||
or\\
|
||||
\indent \textbf{C:/Users/\textless your username\textgreater/Local Settings/Temp/wesnoth\_plugin/logs}
|
||||
|
||||
\subsubsection{Wizards} \hskip\parindent
|
||||
There are some wizards available in the plugin, that will create either projects or config files, based on the specified input. This wizards are available by going to the ``File" menu - New - Other... , and from that list selecting the ``Wesnoth" category.
|
||||
|
||||
There are 3 wizards categories:
|
||||
\begin{enumerate}
|
||||
\item Project wizards - ``Empty project" and ``Campaign" wizards create new projects in the workspace. The former will create a basic addon directory structure. The latter will create a campaign and it's directory structure.
|
||||
\item File wizards - ``Wesnoth config file", ``Scenario", ``Era" and ``Faction" wizards create a new file in a selected container.
|
||||
\item Wizard launcher - This is a special wizard. It takes a wml tag as input, and generate subsequent needed tags and key inputs. This is generated on the wml schema, so if the schema is incomplete some tags won't be available. This wizard can create a new file or copy the resulted WML into the current edited file.
|
||||
\end{enumerate}
|
||||
|
||||
\subsubsection{Menus} \hskip\parindent
|
||||
There are currently 2 types of menus: the context menus for different file/container types and the main menu. For a better distinction the menus have the wenoth icon near each item.
|
||||
|
||||
\begin{description}
|
||||
\item{\textbf{Project context menu}} - right click on the projects created with the plugin
|
||||
|
||||
\textit{Wesnoth project report} - will show a simple report with the numer of maps, scenarios and units.\\
|
||||
\textit{Open campaign in game} - will start the current project's campaign (if any) in wesnoth. For this to work, you must have a ``\_main.cfg" file defined, and a campaign in it.\\
|
||||
\textit{Upload addon} - will upload the specified directory on the wesnoth addon server. The status will be outputed to the console.\\
|
||||
\textit{Regenerate build files} - recreates the ``build.xml" file. That is used if the current project is one relative to useraddons\\
|
||||
\textit{Builders} - utilities for adding/removing the wesnoth/xtext builders. Don't use them until you know what you are doing.
|
||||
|
||||
\item{\textbf{Container context menus}} - right click on any container
|
||||
|
||||
\textit{WML Tools} - provides some options for using the wmltools with the specified project.
|
||||
|
||||
\item{\textbf{``maps" folder context menu}} - right click on the ``maps" directory
|
||||
|
||||
\textit{Import map} - Shows a file selection window that will ley you select a .map file that will be copied in your maps directory.
|
||||
|
||||
\item{\textbf{.cfg files context menu}} - right click on any .cfg file
|
||||
|
||||
\textit{Open scenario in game} - opens the selected file's scenario (if it contains one) in wesnoth.\\
|
||||
\textit{WML Tools} - provides some options for using the wmltools with the specified file. (e.g. run wmllint against the file and see the output in the console) \\
|
||||
\textit{Preprocessor} - provides ways of preprocessing and showing the result in an editor inside eclipse.
|
||||
|
||||
\item{\textbf{.map files context menu}} - right click on any .map file
|
||||
|
||||
\textit{Open map in editor} - will open the selected map in the wesnoth map editor.
|
||||
|
||||
\item{\textbf{Editor context menu}} - right click in the editor
|
||||
\textit{Validate} - will validate the entire file (this is an expensive action)
|
||||
|
||||
\item{\textbf{Main menu}} - This is a menu near the ``Window" menu bar
|
||||
|
||||
\textit{Open editor} - Will open the game editor with a blank map.\\
|
||||
\textit{Open game} - Will open the game.\\
|
||||
\textit{Import map} - It will import a map in selected container.\\
|
||||
\textit{Open editor} - Open the selected map in the game editor.\\
|
||||
\textit{Setup workspace} - Will setup the workspace if it's not setup. This will open the preferences page if any preferences is missing, and then it will create the wesnoth project for mainline and user addons directories if you want.\\
|
||||
\textit{Reload cache} - Reloads the internal cached files. Useful when the schema or other files have modified and you don't want to restart the plugin.\\
|
||||
\textit{Open plugin's preferences} - Opens the plugin preferences page.\\
|
||||
\end{description}
|
||||
|
||||
\subsection{Use cases} \hskip\parindent
|
||||
\subsubsection{Import an already existing wesnoth addon into the plugin}
|
||||
For this you need just 2 single steps:
|
||||
\begin{enumerate}
|
||||
\item Open eclipse. Click the ``New" main menu bar - Project. Select the ``Empty project" from ``Wesnoth" category.
|
||||
\item Enter the name of the project. Uncheck ``Use default location", and press ``Browse...". Navigate to the addon's directory and then continue the wizard as necessary.
|
||||
\end{enumerate}
|
||||
|
||||
\section{Frequently Asked Questions} \hskip\parindent
|
||||
\subsection{What is this plugin all about?}
|
||||
The plugin is in fact something like a WML IDE ( \href{http://en.wikipedia.org/wiki/Integrated_development_environment}{Wikipedia - IDE}). Basically it offers you some features that greatly help anybody who makes User made Content in WML.
|
||||
\begin{description}
|
||||
\item- It has wizards for new campaign, scenario, faction, era and every other wml tag you can think of. You just complete the needed values and it generates the wml (with nice indentation).
|
||||
\item- It has frontends for launching wmltools( like wmllint, wmlscope, wmlindent on files/directories), the wesnoth game, map editor.
|
||||
\item- It has a specialized WML editor, that has syntax highlighting, tag folding and outline, autocompletion, macro "explorer" and so on.
|
||||
\item- It has a 'upload addon' feature that uploads the specified project to the addons server.
|
||||
\end{description}
|
||||
|
||||
\subsection{What is this ``eclipse" thingy?}
|
||||
Eclipse is a Java framework. It is very extensible, so people can actually make plugins that use the already existing functionality. It is written in Java, so for some people it can be slow, but at it's latest version it's very stable and it has few resource consumption.
|
||||
|
||||
\subsection{What if I don't want to install eclipse?}
|
||||
You're lucky. There will be a slimmed version of Eclipse, actually only the plugin itself. The size will be 3 or 4 times smaller than the current eclipse, and there will be no extra plugins. This version isn't released yet.
|
||||
|
||||
\subsection{Where can I submit any found bugs?}
|
||||
Go over to Wesnoth's bug tracker: \href{https://gna.org/bugs/?func=additem&group=wesnoth&bug_group_id=116}{Add new bug}. Please be as specific as possible. Also, if you have any logs, please attach them.
|
||||
\end{document}
|
||||
\documentclass[10pt]{article}
|
||||
\usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm]{geometry}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[colorlinks=true]{hyperref}
|
||||
\usepackage{verbatim}
|
||||
\usepackage{enumerate}
|
||||
|
||||
\title{Eclipse Wesnoth UMC Plugin Readme\\ Google Summer of Code 2010 Project}
|
||||
\author{Timotei Dolean - \href{mailto:timotei21@gmail.com}{timotei21@gmail.com}}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\tableofcontents
|
||||
\setcounter{tocdepth}{3}
|
||||
\newpage
|
||||
|
||||
\newcounter{cnt}
|
||||
\newcommand{\icnt}{ \stepcounter{cnt} \thecnt }
|
||||
|
||||
\section{Foreword} \hskip\parindent
|
||||
Through this readme the following terms with the specified meaning will be used:
|
||||
\begin{enumerate}
|
||||
\item Navigator - an Eclipse view that shows the projects in the workspace
|
||||
\item Project - a directory on the harddrive that is represented as a top directory in the navigator.
|
||||
\item Container - this is a directory or a project. Basically it can contain any file or directory children.
|
||||
\end{enumerate}
|
||||
|
||||
The following image will highlight the terms used: 1 - Navigator, 2 - Project, 3 - Containers, 4 - Map files, 5 - Config files that contain WML code
|
||||
|
||||
\includegraphics{definitions.png}
|
||||
|
||||
\section{Common prerequisites}
|
||||
\begin{enumerate}
|
||||
\item Download and install Sun's Java:
|
||||
\begin{enumerate}
|
||||
\item If you are going just to use the plugin (User): \href{https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u21-oth-JPR@CDS-CDS_Developer}{Download JRE}
|
||||
\item If you are going to modify it or run it from source (Developer): \href{http://java.sun.com/javase/downloads/widget/jdk6.jsp}{Download JDK}
|
||||
\end{enumerate}
|
||||
\textit{Note:} Please double check the java installed on your system. On some machines there is the OpenJDK or other Java versions. Use just Sun's so there will be no problems.
|
||||
\item Download and install Python 2.x:
|
||||
\begin{enumerate}
|
||||
\item \textbf{Windows:} Download and install from here: \href{http://python.org/download/}{Download Python} , selecting a 2.x version
|
||||
\item \textbf{Linux:} Use the regular package manager for installing it from the repositories.
|
||||
\item \textbf{Mac:} Download and install from here: \href{http://python.org/download/}{Download Python} , selecting a 2.x version
|
||||
\item Check the guide over here: \href{http://wiki.python.org/moin/BeginnersGuide/Download}{Python Download and install}
|
||||
\end{enumerate}
|
||||
\textit{Note:} Please ensure you install the 2.x versions. Versions 3.x are \textbf{not} supported by the Wesnoth's WML Tools.
|
||||
\item Download ``Eclipse" (The download links are in the right. Please ensure you are downloading the \textbf{3.6} version, otherwise the plugin will not work.):
|
||||
\begin{enumerate}
|
||||
\item If you are going just to use the plugin (User): \href{http://eclipse.org/downloads/packages/eclipse-classic-360/heliosr}{Download Eclipse Classic}
|
||||
\item If you are going to modify it or run it from source (Developer): \href{http://eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/heliosr}{Download Eclipse for RCP and RAP Developers}
|
||||
\end{enumerate}
|
||||
\item Extract the downloaded archive in a known location and launch the executable (eclipse / eclipse.exe)\\
|
||||
\textit{Note:} You will need to have a wesnoth version 1.9.x or newer, or a version compiled from trunk, in order for the plugin's features to correctly work.
|
||||
\end{enumerate}
|
||||
|
||||
\section{User}
|
||||
\subsection{Installing the plugin}
|
||||
\begin{enumerate}
|
||||
\item After launching Eclipse, go to the ``Help'' menu - Install new Software.\\
|
||||
Then, please check ``Group items by category" and ``Contact all update sites during install to find required software", in the bottom of the page.\\ \includegraphics[width=550px]{install_new_software.png}
|
||||
\item Insert the link \textbf{http://eclipse.wesnoth.org/} in the textbox in the top and press Enter. The list will be populated with some items.
|
||||
\item Select the entire ``Wesnoth UMC Plugin" category and press finish.
|
||||
|
||||
\textit{Note:} If you are prompted for any license agreements or certificates press Yes on all (if you agree).\\
|
||||
\textit{Note:} After the plugin has installed, press ``Restart workbench now" when you are prompted.
|
||||
\item Now the plugin is ready to be used.
|
||||
\end{enumerate}
|
||||
|
||||
\section{Developer}
|
||||
\subsection{Setup the environment}
|
||||
\begin{enumerate}
|
||||
\item Open up the ``Install new software" menu, and select from the list: ``Helios - http://download.eclipse.org/releases/helios"
|
||||
\item In the list populated with items, select from the ``Modelling" category: ``Xtext SDK", and install it. Restart eclipse after that.
|
||||
\item Checkout the following folders: ``org.wesnoth", ``org.wesnoth.wml'', ``org.wesnoth.wml.ui" from plugin's folder in the svn (http://svn.gna.org/svn/wesnoth/trunk/utils/java/)
|
||||
\item In Eclipse, right click in \textbf{Package Explorer/Navigator/Project Explorer} and then select \textbf{Import - General - Existing projects into Workspace}
|
||||
\item Select the path where you downloaded the java folder, and check all the 3 projects: ``eclipse\_plugin", ``org.wesnoth.wml'', ``org.wesnoth.wml.ui".
|
||||
\item Build the projects.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Running the plugin} \hskip\parindent
|
||||
After you've setup the environment and built the plugin you can run it.
|
||||
\begin{enumerate}
|
||||
\item Press the dropdown arrow near the ``Run" button in Eclipse's toolbar.
|
||||
\item Press ``Run Configurations...".
|
||||
\item Select ``Eclipse Application" from the category list in the left and then pres the left-most icon, to create a new run configuration.
|
||||
\item Specify a name for the configuration
|
||||
\item Press Run.
|
||||
\end{enumerate}
|
||||
\includegraphics[width=550px]{launch_plugin.png}
|
||||
|
||||
\section{Everybody}
|
||||
\subsection{Using the plugin} \hskip\parindent
|
||||
After you have your plugin installed (user) or running(developer), you can use its features.
|
||||
|
||||
But before of all, you must ``Setup the workspace". For this, go in the ``Wesnoth" menu (it will have the wesnoth icon) and select ``Setup the workspace". You will be guided setting the workspace. The preferences page for the plugin will pop up, and you must fill them all, so the plugin will work as intended. After you completed the fields, press \textbf{Apply} and then \textbf{OK}. Then the plugin will create for convenience wesnoth projects for each of mainline campaigns and for each directory in your \textbf{useraddons/data/add-ons} directory. The working directory is the directory that contains the data, images, manual, sounds of wesnoth.
|
||||
|
||||
If there were no errors a message window will open saying: \textbf{Workspace was setup successfully}.
|
||||
|
||||
\textit{Note:} If you encounter any errors, the plugin logs them in the: \textbf{\textless your temporary directory\textgreater /wesnoth\_plugin/logs}.
|
||||
That is usually on linux:\\
|
||||
\indent \textbf{/tmp/wesnoth\_plugin/logs}\\
|
||||
or on windows:\\
|
||||
\indent \textbf{C:/Documents and settings/\textless your username\textgreater/Local Settings/Temp/wesnoth\_plugin/logs} \\
|
||||
or\\
|
||||
\indent \textbf{C:/Users/\textless your username\textgreater/Local Settings/Temp/wesnoth\_plugin/logs}
|
||||
|
||||
\subsubsection{Wizards} \hskip\parindent
|
||||
There are some wizards available in the plugin, that will create either projects or config files, based on the specified input. This wizards are available by going to the ``File" menu - New - Other... , and from that list selecting the ``Wesnoth" category.
|
||||
|
||||
There are 3 wizards categories:
|
||||
\begin{enumerate}
|
||||
\item Project wizards - ``Empty project" and ``Campaign" wizards create new projects in the workspace. The former will create a basic addon directory structure. The latter will create a campaign and it's directory structure.
|
||||
\item File wizards - ``Wesnoth config file", ``Scenario", ``Era" and ``Faction" wizards create a new file in a selected container.
|
||||
\item Wizard launcher - This is a special wizard. It takes a wml tag as input, and generate subsequent needed tags and key inputs. This is generated on the wml schema, so if the schema is incomplete some tags won't be available. This wizard can create a new file or copy the resulted WML into the current edited file.
|
||||
\end{enumerate}
|
||||
|
||||
\subsubsection{Menus} \hskip\parindent
|
||||
There are currently 2 types of menus: the context menus for different file/container types and the main menu. For a better distinction the menus have the wenoth icon near each item.
|
||||
|
||||
\begin{description}
|
||||
\item{\textbf{Project context menu}} - right click on the projects created with the plugin
|
||||
|
||||
\textit{Wesnoth project report} - will show a simple report with the numer of maps, scenarios and units.\\
|
||||
\textit{Open campaign in game} - will start the current project's campaign (if any) in wesnoth. For this to work, you must have a ``\_main.cfg" file defined, and a campaign in it.\\
|
||||
\textit{Upload addon} - will upload the specified directory on the wesnoth addon server. The status will be outputed to the console.\\
|
||||
\textit{Regenerate build files} - recreates the ``build.xml" file. That is used if the current project is one relative to useraddons\\
|
||||
\textit{Builders} - utilities for adding/removing the wesnoth/xtext builders. Don't use them until you know what you are doing.
|
||||
|
||||
\item{\textbf{Container context menus}} - right click on any container
|
||||
|
||||
\textit{WML Tools} - provides some options for using the wmltools with the specified project.
|
||||
|
||||
\item{\textbf{``maps" folder context menu}} - right click on the ``maps" directory
|
||||
|
||||
\textit{Import map} - Shows a file selection window that will ley you select a .map file that will be copied in your maps directory.
|
||||
|
||||
\item{\textbf{.cfg files context menu}} - right click on any .cfg file
|
||||
|
||||
\textit{Open scenario in game} - opens the selected file's scenario (if it contains one) in wesnoth.\\
|
||||
\textit{WML Tools} - provides some options for using the wmltools with the specified file. (e.g. run wmllint against the file and see the output in the console) \\
|
||||
\textit{Preprocessor} - provides ways of preprocessing and showing the result in an editor inside eclipse.
|
||||
|
||||
\item{\textbf{.map files context menu}} - right click on any .map file
|
||||
|
||||
\textit{Open map in editor} - will open the selected map in the wesnoth map editor.
|
||||
|
||||
\item{\textbf{Editor context menu}} - right click in the editor
|
||||
\textit{Validate} - will validate the entire file (this is an expensive action)
|
||||
|
||||
\item{\textbf{Main menu}} - This is a menu near the ``Window" menu bar
|
||||
|
||||
\textit{Open editor} - Will open the game editor with a blank map.\\
|
||||
\textit{Open game} - Will open the game.\\
|
||||
\textit{Import map} - It will import a map in selected container.\\
|
||||
\textit{Open editor} - Open the selected map in the game editor.\\
|
||||
\textit{Setup workspace} - Will setup the workspace if it's not setup. This will open the preferences page if any preferences is missing, and then it will create the wesnoth project for mainline and user addons directories if you want.\\
|
||||
\textit{Reload cache} - Reloads the internal cached files. Useful when the schema or other files have modified and you don't want to restart the plugin.\\
|
||||
\textit{Open plugin's preferences} - Opens the plugin preferences page.\\
|
||||
\end{description}
|
||||
|
||||
\subsection{Use cases} \hskip\parindent
|
||||
\subsubsection{Import an already existing wesnoth addon into the plugin}
|
||||
For this you need just 2 single steps:
|
||||
\begin{enumerate}
|
||||
\item Open eclipse. Click the ``New" main menu bar - Project. Select the ``Empty project" from ``Wesnoth" category.
|
||||
\item Enter the name of the project. Uncheck ``Use default location", and press ``Browse...". Navigate to the addon's directory and then continue the wizard as necessary.
|
||||
\end{enumerate}
|
||||
|
||||
\section{Frequently Asked Questions} \hskip\parindent
|
||||
\subsection{What is this plugin all about?}
|
||||
The plugin is in fact something like a WML IDE ( \href{http://en.wikipedia.org/wiki/Integrated_development_environment}{Wikipedia - IDE}). Basically it offers you some features that greatly help anybody who makes User made Content in WML.
|
||||
\begin{description}
|
||||
\item- It has wizards for new campaign, scenario, faction, era and every other wml tag you can think of. You just complete the needed values and it generates the wml (with nice indentation).
|
||||
\item- It has frontends for launching wmltools( like wmllint, wmlscope, wmlindent on files/directories), the wesnoth game, map editor.
|
||||
\item- It has a specialized WML editor, that has syntax highlighting, tag folding and outline, autocompletion, macro "explorer" and so on.
|
||||
\item- It has a 'upload addon' feature that uploads the specified project to the addons server.
|
||||
\end{description}
|
||||
|
||||
\subsection{What is this ``eclipse" thingy?}
|
||||
Eclipse is a Java framework. It is very extensible, so people can actually make plugins that use the already existing functionality. It is written in Java, so for some people it can be slow, but at it's latest version it's very stable and it has few resource consumption.
|
||||
|
||||
\subsection{What if I don't want to install eclipse?}
|
||||
You're lucky. There will be a slimmed version of Eclipse, actually only the plugin itself. The size will be 3 or 4 times smaller than the current eclipse, and there will be no extra plugins. This version isn't released yet.
|
||||
|
||||
\subsection{Where can I submit any found bugs?}
|
||||
Go over to Wesnoth's bug tracker: \href{https://gna.org/bugs/?func=additem&group=wesnoth&bug_group_id=116}{Add new bug}. Please be as specific as possible. Also, if you have any logs, please attach them.
|
||||
\end{document}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feature
|
||||
id="Wesnoth_Eclipse_Plugin"
|
||||
label="Wesnoth User Made Content Plugin"
|
||||
version="1.0.2"
|
||||
provider-name="www.wesnoth.org">
|
||||
|
||||
<description>
|
||||
This is the Wesnoth Eclipse UMC Plugin developed as part of Google Summer of Code 2010.
|
||||
</description>
|
||||
|
||||
<license url="http://www.eclipse.org/legal/epl-v10.html">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feature
|
||||
id="Wesnoth_Eclipse_Plugin"
|
||||
label="Wesnoth User Made Content Plugin"
|
||||
version="1.0.2"
|
||||
provider-name="www.wesnoth.org">
|
||||
|
||||
<description>
|
||||
This is the Wesnoth Eclipse UMC Plugin developed as part of Google Summer of Code 2010.
|
||||
</description>
|
||||
|
||||
<license url="http://www.eclipse.org/legal/epl-v10.html">
|
||||
Eclipse Public License - v 1.0
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
|
||||
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
|
||||
|
@ -205,67 +205,67 @@ and the intellectual property laws of the United States of America.
|
|||
No party to this Agreement will bring a legal action under this
|
||||
Agreement more than one year after the cause of action arose.
|
||||
Each party waives its rights to a jury trial in any resulting
|
||||
litigation.
|
||||
</license>
|
||||
|
||||
<url>
|
||||
<update label="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/"/>
|
||||
<discovery label="Update site" url="http://eclipse.wesnoth.org/"/>
|
||||
</url>
|
||||
|
||||
<requires>
|
||||
<import plugin="org.eclipse.xtext"/>
|
||||
<import plugin="org.eclipse.xtext.util"/>
|
||||
<import plugin="org.eclipse.emf.ecore"/>
|
||||
<import plugin="org.eclipse.emf.common"/>
|
||||
<import plugin="org.antlr.runtime"/>
|
||||
<import plugin="org.eclipse.xtext.junit" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.apache.log4j"/>
|
||||
<import plugin="org.wesnoth.wml"/>
|
||||
<import plugin="org.eclipse.xtext.ui"/>
|
||||
<import plugin="org.eclipse.ui.editors" version="3.5.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.ide" version="3.5.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.xtext.ui.shared"/>
|
||||
<import plugin="org.eclipse.ui"/>
|
||||
<import plugin="org.eclipse.xtext.builder"/>
|
||||
<import plugin="org.eclipse.xtext.xtext.ui" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.core.filesystem" version="1.3.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.jdt.core" version="3.6.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.core.runtime"/>
|
||||
<import plugin="org.eclipse.core.resources"/>
|
||||
<import plugin="org.eclipse.jface.text" version="3.3.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.editors" version="3.3.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.apache.ant" version="1.7.1" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.core.filesystem" version="1.2.1" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.console" version="3.4.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.xtext.builder" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.xtext.ui" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.navigator" version="3.5.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.navigator.resources"/>
|
||||
<import plugin="org.eclipse.ui.intro"/>
|
||||
<import plugin="org.eclipse.ui.intro.universal"/>
|
||||
<import plugin="org.eclipse.osgi.util" version="3.2.100" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.osgi" version="3.6.0" match="greaterOrEqual"/>
|
||||
</requires>
|
||||
|
||||
<plugin
|
||||
id="org.wesnoth.wml"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="1.1.2"
|
||||
unpack="false"/>
|
||||
|
||||
<plugin
|
||||
id="org.wesnoth.wml.ui"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="1.1.2"
|
||||
unpack="false"/>
|
||||
|
||||
<plugin
|
||||
id="org.wesnoth"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="1.0.2"/>
|
||||
|
||||
</feature>
|
||||
litigation.
|
||||
</license>
|
||||
|
||||
<url>
|
||||
<update label="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/"/>
|
||||
<discovery label="Update site" url="http://eclipse.wesnoth.org/"/>
|
||||
</url>
|
||||
|
||||
<requires>
|
||||
<import plugin="org.eclipse.xtext"/>
|
||||
<import plugin="org.eclipse.xtext.util"/>
|
||||
<import plugin="org.eclipse.emf.ecore"/>
|
||||
<import plugin="org.eclipse.emf.common"/>
|
||||
<import plugin="org.antlr.runtime"/>
|
||||
<import plugin="org.eclipse.xtext.junit" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.apache.log4j"/>
|
||||
<import plugin="org.wesnoth.wml"/>
|
||||
<import plugin="org.eclipse.xtext.ui"/>
|
||||
<import plugin="org.eclipse.ui.editors" version="3.5.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.ide" version="3.5.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.xtext.ui.shared"/>
|
||||
<import plugin="org.eclipse.ui"/>
|
||||
<import plugin="org.eclipse.xtext.builder"/>
|
||||
<import plugin="org.eclipse.xtext.xtext.ui" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.core.filesystem" version="1.3.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.jdt.core" version="3.6.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.core.runtime"/>
|
||||
<import plugin="org.eclipse.core.resources"/>
|
||||
<import plugin="org.eclipse.jface.text" version="3.3.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.editors" version="3.3.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.apache.ant" version="1.7.1" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.core.filesystem" version="1.2.1" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.console" version="3.4.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.xtext.builder" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.xtext.ui" version="1.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.navigator" version="3.5.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.ui.navigator.resources"/>
|
||||
<import plugin="org.eclipse.ui.intro"/>
|
||||
<import plugin="org.eclipse.ui.intro.universal"/>
|
||||
<import plugin="org.eclipse.osgi.util" version="3.2.100" match="greaterOrEqual"/>
|
||||
<import plugin="org.eclipse.osgi" version="3.6.0" match="greaterOrEqual"/>
|
||||
</requires>
|
||||
|
||||
<plugin
|
||||
id="org.wesnoth.wml"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="1.1.2"
|
||||
unpack="false"/>
|
||||
|
||||
<plugin
|
||||
id="org.wesnoth.wml.ui"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="1.1.2"
|
||||
unpack="false"/>
|
||||
|
||||
<plugin
|
||||
id="org.wesnoth"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="1.0.2"/>
|
||||
|
||||
</feature>
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
@echo off
|
||||
REM "run this: signing <keypass> <storepass>"
|
||||
REM "this file should be run in 'plugin_feature' directory"
|
||||
REM cn = common name
|
||||
REM ou = organizational unit
|
||||
REM o = organization
|
||||
REM c = Country
|
||||
SET PLUGIN_VERSION=1.0.2
|
||||
SET PLUGIN_WML_VERSIOn=1.1.2
|
||||
IF EXIST keystore (
|
||||
echo deleting previous keystore file
|
||||
DEL keystore
|
||||
)
|
||||
echo generating key...
|
||||
keytool.exe -genkey -dname "cn=Battle for Wesnoth, ou=Wesnoth, o=Wesnoth" -alias wesnoth -keypass %1 -keystore keystore -storepass %2 -validity 1095
|
||||
echo signing feature
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/Wesnoth_Eclipse_Plugin_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml_%PLUGIN_WML_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml_%PLUGIN_WML_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml.ui_%PLUGIN_WML_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml.ui_%PLUGIN_WML_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth_%PLUGIN_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo finished.
|
||||
@pause
|
||||
@echo off
|
||||
REM "run this: signing <keypass> <storepass>"
|
||||
REM "this file should be run in 'plugin_feature' directory"
|
||||
REM cn = common name
|
||||
REM ou = organizational unit
|
||||
REM o = organization
|
||||
REM c = Country
|
||||
SET PLUGIN_VERSION=1.0.2
|
||||
SET PLUGIN_WML_VERSIOn=1.1.2
|
||||
IF EXIST keystore (
|
||||
echo deleting previous keystore file
|
||||
DEL keystore
|
||||
)
|
||||
echo generating key...
|
||||
keytool.exe -genkey -dname "cn=Battle for Wesnoth, ou=Wesnoth, o=Wesnoth" -alias wesnoth -keypass %1 -keystore keystore -storepass %2 -validity 1095
|
||||
echo signing feature
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/Wesnoth_Eclipse_Plugin_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml_%PLUGIN_WML_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml_%PLUGIN_WML_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml.ui_%PLUGIN_WML_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml.ui_%PLUGIN_WML_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth_%PLUGIN_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo finished.
|
||||
@pause
|
||||
|
|
|
@ -1,96 +1,96 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/xhtml; charset=utf-8" />
|
||||
<link rel="shortcut icon" type="image/png" href="http://wesnoth.org/mw/skins/glamdrol/ico.png" />
|
||||
<style type="text/css">@import url('http://wesnoth.org/mw/skins/glamdrol/main.css');</style>
|
||||
<style type="text/css">@import url('http://wesnoth.org/mw/skins/glamdrol/home.css');</style>
|
||||
<style type="text/css">
|
||||
#feature #overview { background-image: url(http://wesnoth.org/mw/skins/glamdrol/home_portraits/sergeant.jpg)!important; }
|
||||
</style>
|
||||
<link rel="alternate" type="application/rss+xml" title="news" href="http://feed43.com/wesnoth.xml" />
|
||||
<title>User Made Content IDE - Battle for Wesnoth</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="global">
|
||||
|
||||
<div id="header">
|
||||
<div id="logo">
|
||||
<a href="/"><img alt="Wesnoth logo" src="http://wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="nav">
|
||||
<ul>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="doc_howto.html">Documentation & How to install</a></li>
|
||||
<li><a href="features.html">Features</a></li>
|
||||
<li><a href="http://wesnoth.org">Battle for Wesnoth</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="feature">
|
||||
|
||||
<div id="border_left"><div id="border_right"><div id="border_bottom">
|
||||
<div id="corner_bottomleft"><div id="corner_bottomright">
|
||||
<div id="border_top"><div id="corner_topleft"><div id="corner_topright">
|
||||
|
||||
<div id="overview">
|
||||
<h2>The Battle for Wesnoth UMC Development IDE</h2>
|
||||
|
||||
<p>The plugin is a UMC IDE. Basically it offers some features that greatly help anybody who makes User Made Content for Wesnoth.</p>
|
||||
<ul>
|
||||
<li><a>*</a> It has wizards for new campaigns, scenarios, factions, eras, and everything else you might think of. You just complete the needed values and it generates the wml (with nice indentation). <br /></li>
|
||||
<li><a>*</a> It has front-ends for launching wmltools (like wmllint, wmlscope, wmlindent on files/directories), the wesnoth game, and map editor. <br /></li>
|
||||
<li><a>*</a> It has a specialized WML editor that has syntax highlighting, tag folding and outline, autocompletion, a macro "explorer", and so on. <br /></li>
|
||||
<li><a>*</a> It has an 'upload addon' feature that uploads the specified project to the addons server. <br /></li>
|
||||
|
||||
<li>For a full features list please check the dedicated page.</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
The plugin was made by Timotei Dolean and it is available under EPL License (<a href="http://www.eclipse.org/legal/epl-v10.html">EPL v 1.0</a>).
|
||||
</ul>
|
||||
|
||||
|
||||
</div> <!-- overview -->
|
||||
|
||||
</div></div></div></div></div></div></div></div>
|
||||
<h3>News</h3>
|
||||
<p><em>16 December 2010</em> - Released version 1.0.1 of the eclipse plugin version</p>
|
||||
<p><em>6 November 2010</em> - Added the 64 bit version for Windows & Linux, aswell as Mac x86 + x64.</p>
|
||||
<p><em>5 November 2010</em> - The standalone plugin version is out! Checkout it at the how to install section.</p>
|
||||
</div> <!-- feature -->
|
||||
|
||||
|
||||
<div class="visualClear"></div>
|
||||
|
||||
<div id="footer">
|
||||
<div id="note">
|
||||
<p><a href="http://wiki.wesnoth.org/Site_Map">Site map</a></p>
|
||||
<p><a href="http://wiki.wesnoth.org/Wesnoth:Copyrights">Copyright</a> © 2003-2010 The Battle for Wesnoth</p>
|
||||
<p>Supported by <a href="http://www.jexiste.fr/">Jexiste</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> <!-- main -->
|
||||
|
||||
</div> <!-- global -->
|
||||
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-1872754-3";
|
||||
var tracker = _gat._getTracker(_uacct);
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
urchinTracker();
|
||||
</script>
|
||||
</body>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/xhtml; charset=utf-8" />
|
||||
<link rel="shortcut icon" type="image/png" href="http://wesnoth.org/mw/skins/glamdrol/ico.png" />
|
||||
<style type="text/css">@import url('http://wesnoth.org/mw/skins/glamdrol/main.css');</style>
|
||||
<style type="text/css">@import url('http://wesnoth.org/mw/skins/glamdrol/home.css');</style>
|
||||
<style type="text/css">
|
||||
#feature #overview { background-image: url(http://wesnoth.org/mw/skins/glamdrol/home_portraits/sergeant.jpg)!important; }
|
||||
</style>
|
||||
<link rel="alternate" type="application/rss+xml" title="news" href="http://feed43.com/wesnoth.xml" />
|
||||
<title>User Made Content IDE - Battle for Wesnoth</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="global">
|
||||
|
||||
<div id="header">
|
||||
<div id="logo">
|
||||
<a href="/"><img alt="Wesnoth logo" src="http://wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="nav">
|
||||
<ul>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="doc_howto.html">Documentation & How to install</a></li>
|
||||
<li><a href="features.html">Features</a></li>
|
||||
<li><a href="http://wesnoth.org">Battle for Wesnoth</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="feature">
|
||||
|
||||
<div id="border_left"><div id="border_right"><div id="border_bottom">
|
||||
<div id="corner_bottomleft"><div id="corner_bottomright">
|
||||
<div id="border_top"><div id="corner_topleft"><div id="corner_topright">
|
||||
|
||||
<div id="overview">
|
||||
<h2>The Battle for Wesnoth UMC Development IDE</h2>
|
||||
|
||||
<p>The plugin is a UMC IDE. Basically it offers some features that greatly help anybody who makes User Made Content for Wesnoth.</p>
|
||||
<ul>
|
||||
<li><a>*</a> It has wizards for new campaigns, scenarios, factions, eras, and everything else you might think of. You just complete the needed values and it generates the wml (with nice indentation). <br /></li>
|
||||
<li><a>*</a> It has front-ends for launching wmltools (like wmllint, wmlscope, wmlindent on files/directories), the wesnoth game, and map editor. <br /></li>
|
||||
<li><a>*</a> It has a specialized WML editor that has syntax highlighting, tag folding and outline, autocompletion, a macro "explorer", and so on. <br /></li>
|
||||
<li><a>*</a> It has an 'upload addon' feature that uploads the specified project to the addons server. <br /></li>
|
||||
|
||||
<li>For a full features list please check the dedicated page.</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
The plugin was made by Timotei Dolean and it is available under EPL License (<a href="http://www.eclipse.org/legal/epl-v10.html">EPL v 1.0</a>).
|
||||
</ul>
|
||||
|
||||
|
||||
</div> <!-- overview -->
|
||||
|
||||
</div></div></div></div></div></div></div></div>
|
||||
<h3>News</h3>
|
||||
<p><em>16 December 2010</em> - Released version 1.0.1 of the eclipse plugin version</p>
|
||||
<p><em>6 November 2010</em> - Added the 64 bit version for Windows & Linux, aswell as Mac x86 + x64.</p>
|
||||
<p><em>5 November 2010</em> - The standalone plugin version is out! Checkout it at the how to install section.</p>
|
||||
</div> <!-- feature -->
|
||||
|
||||
|
||||
<div class="visualClear"></div>
|
||||
|
||||
<div id="footer">
|
||||
<div id="note">
|
||||
<p><a href="http://wiki.wesnoth.org/Site_Map">Site map</a></p>
|
||||
<p><a href="http://wiki.wesnoth.org/Wesnoth:Copyrights">Copyright</a> © 2003-2010 The Battle for Wesnoth</p>
|
||||
<p>Supported by <a href="http://www.jexiste.fr/">Jexiste</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> <!-- main -->
|
||||
|
||||
</div> <!-- global -->
|
||||
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-1872754-3";
|
||||
var tracker = _gat._getTracker(_uacct);
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
urchinTracker();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,17 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site>
|
||||
<description name="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/">
|
||||
The default update site for Wesnoth Eclipse Plugins
|
||||
</description>
|
||||
<feature url="features/Wesnoth_Eclipse_Plugin_1.0.1.jar" id="Wesnoth_Eclipse_Plugin" version="1.0.1">
|
||||
<category name="Wesnoth UMC plugin"/>
|
||||
</feature>
|
||||
<feature url="features/Wesnoth_Eclipse_Plugin_1.0.2.jar" id="Wesnoth_Eclipse_Plugin" version="1.0.2">
|
||||
<category name="Wesnoth UMC plugin"/>
|
||||
</feature>
|
||||
<category-def name="Wesnoth UMC plugin" label="Wesnoth User Made Content plugin">
|
||||
<description>
|
||||
This category represents the UMC plugin
|
||||
</description>
|
||||
</category-def>
|
||||
</site>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site>
|
||||
<description name="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/">
|
||||
The default update site for Wesnoth Eclipse Plugins
|
||||
</description>
|
||||
<feature url="features/Wesnoth_Eclipse_Plugin_1.0.1.jar" id="Wesnoth_Eclipse_Plugin" version="1.0.1">
|
||||
<category name="Wesnoth UMC plugin"/>
|
||||
</feature>
|
||||
<feature url="features/Wesnoth_Eclipse_Plugin_1.0.2.jar" id="Wesnoth_Eclipse_Plugin" version="1.0.2">
|
||||
<category name="Wesnoth UMC plugin"/>
|
||||
</feature>
|
||||
<category-def name="Wesnoth UMC plugin" label="Wesnoth User Made Content plugin">
|
||||
<description>
|
||||
This category represents the UMC plugin
|
||||
</description>
|
||||
</category-def>
|
||||
</site>
|
||||
|
|
Loading…
Add table
Reference in a new issue