Author: ningjiang
Date: Sun Sep 9 06:24:05 2007
New Revision: 574011
URL: http://svn.apache.org/viewvc?rev=574011&view=rev
Log:
CXF-982 applied Benson's patch for eclipse setup, thanks
Added:
incubator/cxf/trunk/etc/eclipse/xmltemplates.xml (with props)
Modified:
incubator/cxf/trunk/etc/eclipse/codetemplates.xml
incubator/cxf/trunk/pom.xml
Modified: incubator/cxf/trunk/etc/eclipse/codetemplates.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/etc/eclipse/codetemplates.xml?rev=574011&r1=574010&r2=574011&view=diff
==============================================================================
--- incubator/cxf/trunk/etc/eclipse/codetemplates.xml (original)
+++ incubator/cxf/trunk/etc/eclipse/codetemplates.xml Sun Sep 9 06:24:05 2007
@@ -44,9 +44,7 @@
* ${tags}
*/</template><template autoinsert="false" context="fieldcomment_context"
deleted="false" description="Comment for fields" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment"
name="fieldcomment"></template><template autoinsert="true"
context="methodcomment_context" deleted="false" description="Comment for
non-overriding methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.methodcomment"
name="methodcomment">/**
* ${tags}
- */</template><template autoinsert="true" context="overridecomment_context"
deleted="false" description="Comment for overriding methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.overridecomment"
name="overridecomment">/* (non-Javadoc)
- * ${see_to_overridden}
- */</template><template autoinsert="true" context="delegatecomment_context"
deleted="false" description="Comment for delegate methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment"
name="delegatecomment">/**
+ */</template><template autoinsert="true" context="overridecomment_context"
deleted="false" description="Comment for overriding methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.overridecomment"
name="overridecomment">/** [EMAIL PROTECTED]/</template><template
autoinsert="true" context="delegatecomment_context" deleted="false"
description="Comment for delegate methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment"
name="delegatecomment">/**
* ${tags}
* ${see_to_target}
*/</template><template autoinsert="true" context="newtype_context"
deleted="false" description="Newly created files" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">${filecomment}
@@ -60,4 +58,4 @@
</template><template autoinsert="true" context="catchblock_context"
deleted="false" description="Code in new catch blocks" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.catchblock" name="catchblock">//
${todo} Auto-generated catch block
${exception_var}.printStackTrace();</template><template autoinsert="true"
context="methodbody_context" deleted="false" description="Code in created
method stubs" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.methodbody" name="methodbody">//
${todo} Auto-generated method stub
${body_statement}</template><template autoinsert="true"
context="constructorbody_context" deleted="false" description="Code in created
constructor stubs" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.constructorbody"
name="constructorbody">${body_statement}
-// ${todo} Auto-generated constructor stub</template><template
autoinsert="true" context="getterbody_context" deleted="false"
description="Code in created getters" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.getterbody" name="getterbody">return
${field};</template><template autoinsert="true" context="setterbody_context"
deleted="false" description="Code in created setters" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.setterbody"
name="setterbody">${field} = ${param};</template></templates>
\ No newline at end of file
+// ${todo} Auto-generated constructor stub</template><template
autoinsert="true" context="getterbody_context" deleted="false"
description="Code in created getters" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.getterbody" name="getterbody">return
${field};</template><template autoinsert="true" context="setterbody_context"
deleted="false" description="Code in created setters" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.setterbody"
name="setterbody">${field} = ${param};</template></templates>
Added: incubator/cxf/trunk/etc/eclipse/xmltemplates.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/etc/eclipse/xmltemplates.xml?rev=574011&view=auto
==============================================================================
--- incubator/cxf/trunk/etc/eclipse/xmltemplates.xml (added)
+++ incubator/cxf/trunk/etc/eclipse/xmltemplates.xml Sun Sep 9 06:24:05 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<templates><template autoinsert="true" context="xml_new" deleted="false"
description="xml declaration" enabled="true"
id="org.eclipse.wst.xml.ui.internal.templates.xmldeclaration" name="xml
declaration"><?xml version="1.0" encoding="${encoding}"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--></template></templates>
Propchange: incubator/cxf/trunk/etc/eclipse/xmltemplates.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/etc/eclipse/xmltemplates.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/etc/eclipse/xmltemplates.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/pom.xml?rev=574011&r1=574010&r2=574011&view=diff
==============================================================================
--- incubator/cxf/trunk/pom.xml (original)
+++ incubator/cxf/trunk/pom.xml Sun Sep 9 06:24:05 2007
@@ -248,18 +248,23 @@
</concat>
<loadfile
property="eclipse.code.format"
srcFile="${basedir}/etc/eclipse/CXFCodeFormatter.xml" />
<loadfile
property="eclipse.code.templates"
srcFile="${basedir}/etc/eclipse/codetemplates.xml" />
+ <loadfile
property="eclipse.xml.templates"
srcFile="${basedir}/etc/eclipse/xmltemplates.xml" />
<propertyfile
file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs">
<entry key="formatter_profile"
value="_CXF Java Conventions" />
<entry
key="org.eclipse.jdt.ui.formatterprofiles" value="${eclipse.code.format}" />
<entry
key="org.eclipse.jdt.ui.text.custom_code_templates"
value="${eclipse.code.templates}" />
<!-- Add import order -->
- <entry
key="org.eclipse.jdt.ui.importorder" value="java;javax;org.w3c;org.xml;w3c;" />
+ <entry
key="org.eclipse.jdt.ui.importorder" value="java;javax;org.w3c;org.xml;junit" />
<!-- Sort order -->
<entry
key="org.eclipse.jdt.ui.visibility.order" value="B,R,D,V," />
<entry key="outlinesortoption"
value="T,SF,F,SI,I,C,SM,M," />
<entry
key="org.eclipse.jdt.ui.enable.visibility.order" value="true" />
</propertyfile>
+ <propertyfile
file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.ui.prefs">
+ <entry
key="eclipse.preferences.version" value="1"/>
+ <entry
key="org.eclipse.wst.sse.ui.custom_templates" value="${eclipse.xml.templates}"
/>
+ </propertyfile>
</tasks>
</configuration>
<goals>