xml-commons-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrgla...@apache.org
Subject svn commit: r670301 - in /xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings: ./ org.eclipse.jdt.ui.prefs
Date Sun, 22 Jun 2008 02:51:15 GMT
Author: mrglavas
Date: Sat Jun 21 19:51:15 2008
New Revision: 670301

URL: http://svn.apache.org/viewvc?rev=670301&view=rev
Log:
Adding a template for new Java source files which automatically inserts the Apache license
header.

Added:
    xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/
    xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs 
 (with props)

Added: xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs?rev=670301&view=auto
==============================================================================
--- xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs (added)
+++ xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs Sat
Jun 21 19:51:15 2008
@@ -0,0 +1,3 @@
+#Sat Jun 21 22:49:25 EDT 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template
autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment
for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment"
name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template
autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment
for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment"
name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template
autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment
for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment"
name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true"
context\="filecomment_conte
 xt" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment"
name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="typecomment_context"
deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment"
name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template
autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment
for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n
* \r\n */</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">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true"
contex
 t\="overridecomment_context" deleted\="false" description\="Comment for overriding methods"
enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/*
(non-Javadoc)\r\n * ${see_to_overridden}\r\n */</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">/**\r\n
* ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="false" context\="newtype_context"
deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype"
name\="newtype">/*\r\n * Licensed to the Apache Software Foundation (ASF) under one or
more\r\n * contributor license agreements.  See the NOTICE file distributed with\r\n * this
work for additional information regarding copyright ownership.\r\n * The ASF licenses this
file t
 o You under the Apache License, Version 2.0\r\n * (the "License"); you may not use this file
except in compliance with\r\n * the License.  You may obtain a copy of the License at\r\n
*\r\n *     http\://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable
law or agreed to in writing, software\r\n * distributed under the License is distributed on
an "AS IS" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n
* See the License for the specific language governing permissions and\r\n * limitations under
the License.\r\n */\r\n\r\n// $$Id\: $$\r\n\r\n${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template
autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new
class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template
autoinsert\="true" context\="interfacebody_co
 ntext" deleted\="false" description\="Code in new interface type bodies" enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template
autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new
enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template
autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in
new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody"
name\="annotationbody">\r\n</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\r\n${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\r\n${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}\r\n// ${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>

Propchange: xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xml/commons/branches/tck-jaxp-1_2_0/java/external/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message