Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse JET Guide
Previous Page Home Next Page


Standard JET2 Control Tags


Define a region in the generated text where users may write customized code.

The tag must contain a single 'initialCode' tag. Content before the initialCode tag is considered a 'begin marker', while content after it is considered an

'end marker'. During execution, the existing file is searched for the begin and end markers. If found, the content of the user region tag is replaced with

the content found in the existing file. If the markers are not found (or the file does not exist), then the markers, along with the content of the initialCode

tag are written.

Tag Summary
required <c:userRegion>
    content to be written
full tag <c:userRegion>
    content to be written

<%-- Define user region 101. Code in block will never be updated by subsequent executions --%>
// BEGIN region 101
    default code
// END region 101

<%-- Define user region 102. Code in block will be updated by subsequent executions only if @generated is found in block --%>
// BEGIN region 102
  <c:initialCode unmodifiedMarker="@generated">
    // @generated
    default code
// END region 102

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire