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 Workspace Tags


Ensure the existence of an Eclipse Project of a given name. If the project does not exist, it is created. If the project is not opened, it is opened.

Note that the actual creation of the workspace project is deferred until the JET2Context passed to the executing template has the 'commit' method calls. If the template is part of a JET2 transformation, this occurs once all templates have executed.

An error occurs of the project does not exist and cannot be created, or if the project exists, but cannot be opened.

The 'project' tag may contain other tags. Contained 'folder' and 'file' tags will have relative path names iterpreted as being relative to the project defined by this tag.

Tag Summary
required <ws:project name="value">
    content to be written
full tag <ws:project name="value" location="value">
    content to be written

Required Attributes
The name of the project.

Optional Attributes
An optional absolute file-system location for the new project. If not specified, the project is created in a directory under the workspace directory.

<%-- Create project myProjet (or ensure it exists) --%>
<ws:project name="myProject"/>

<%-- Create project myProjet (or ensure it exists), with nested actions--%>
<ws:project name="myProject"/>
    ... nested ws:folder and ws:file tags are relative to myProject ...

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