Skip to main content
Jump to: navigation, search

Difference between revisions of "IAM Development Conventions"

(Coding conventions and default headers)
 
m (Link back and category)
Line 1: Line 1:
{{backlink|IAM}}
+
{{backlink|IAM Environment}}
  
 
= IAM Development Conventions =
 
= IAM Development Conventions =
Line 31: Line 31:
 
  # http://www.eclipse.org/legal/epl-v10.html
 
  # http://www.eclipse.org/legal/epl-v10.html
 
  #-------------------------------------------------------------------------------
 
  #-------------------------------------------------------------------------------
 +
 +
[[Category:IAM]]

Revision as of 06:17, 30 November 2008

< To: IAM Environment

IAM Development Conventions

Code formatting

IAM inherits the Maven Coding Conventions. Eclipse settings can be downloaded here and imported by going to the Preferences > Java > Code Style > Formatter and then using the Import... button.

File headers

These are the standard headers for new files:

Java

/*
 * Copyright (c) 2008 Exist Global, Inc. and others
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */


You can set this as the default for new files in Preferences > Java > Code Style > Code Templates and then choose the Comments > File node on the tree. Use the Edit... button to paste the comment.

plugin.properties

#-------------------------------------------------------------------------------
# Copyright (c) 2008 Exist Global, Inc. and others
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#-------------------------------------------------------------------------------

Back to the top