[jboss-cvs] jboss-seam-tools/src/org/jboss/seam/tools/contexts ...
Thomas Heute
theute at jboss.com
Tue Aug 8 07:33:13 EDT 2006
User: theute
Date: 06/08/08 07:33:13
Added: src/org/jboss/seam/tools/contexts WebContext.java
EjbContext.java RootContext.java Context.java
EarContext.java
Log:
- WTP and Maven support
- Legal headers
- Moved the templates
Revision Changes Path
1.1 date: 2006/08/08 11:33:13; author: theute; state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/contexts/WebContext.java
Index: WebContext.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.seam.tools.contexts;
/**
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @version <tt>$Revision: 1.1 $</tt>
*/
public class WebContext {
private String contextRoot;
private String outputLocation;
private String contentDirectory;
public String getContextRoot() {
return contextRoot;
}
public void setContextRoot(String contextRoot) {
this.contextRoot = contextRoot;
}
public String getOutputLocation() {
return outputLocation;
}
public void setOutputLocation(String outputLocation) {
this.outputLocation = outputLocation;
}
public String getContentDirectory() {
return contentDirectory;
}
public void setContentDirectory(String contentDirectory) {
this.contentDirectory = contentDirectory;
}
}
1.1 date: 2006/08/08 11:33:13; author: theute; state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/contexts/EjbContext.java
Index: EjbContext.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.seam.tools.contexts;
/**
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @version <tt>$Revision: 1.1 $</tt>
*/
public class EjbContext {
private String outputLocation;
private String contentDirectory;
private String persistenceUnitName;
private String jtaDataSource;
public String getOutputLocation() {
return outputLocation;
}
public void setOutputLocation(String outputLocation) {
this.outputLocation = outputLocation;
}
public String getContentDirectory() {
return contentDirectory;
}
public void setContentDirectory(String contentDirectory) {
this.contentDirectory = contentDirectory;
}
public String getPersistenceUnitName() {
return persistenceUnitName;
}
public void setPersistenceUnitName(String persistenceUnitName) {
this.persistenceUnitName = persistenceUnitName;
}
public String getJtaDataSource() {
return jtaDataSource;
}
public void setJtaDataSource(String jtaDataSource) {
this.jtaDataSource = jtaDataSource;
}
}
1.1 date: 2006/08/08 11:33:13; author: theute; state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/contexts/RootContext.java
Index: RootContext.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.seam.tools.contexts;
/**
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @version <tt>$Revision: 1.1 $</tt>
*/
public class RootContext {
}
1.1 date: 2006/08/08 11:33:13; author: theute; state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/contexts/Context.java
Index: Context.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.seam.tools.contexts;
import org.jboss.seam.tools.Structure;
/**
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @version <tt>$Revision: 1.1 $</tt>
*/
public class Context {
/**
* File structure
*/
private Structure structure;
/**
* Create Eclipse project files
*/
private boolean eclipseSupport = false;
/**
* Build required elements for testing environment
*/
private boolean testSupport = true;
/**
* Support for Facelets
*/
private boolean faceletsSupport = false;
/**
* Directory path where Seam in installed
*/
private String seamLocation;
/**
* Add a basic project with JSF files, java files and test files (if testSupport is true)
*/
private boolean basicProject = false;
/**
* isolation classloading name (jboss-app.xml)
*/
private String isolationClassLoadingName;
/**
* directory where to create the projects
*/
private String outputLocation;
/**
* Build required elements for debugging
*/
private boolean debug = true;
/**
*
*/
private boolean myFacesLifecycleBug;
/**
* Default conversation timeout
*/
private String conversationTimeout = "30000";
private boolean embeddedEJB = false;
private String seamExtension = "seam";
private String jsfExtension = "xhtml";
public Structure getStructure() {
return structure;
}
public void setStructure(Structure structure) {
this.structure = structure;
}
public String getConversationTimeout() {
return conversationTimeout;
}
public void setConversationTimeout(String conversationTimeout) {
this.conversationTimeout = conversationTimeout;
}
public void setEclipseSupport(boolean eclipseSupport) {
this.eclipseSupport = eclipseSupport;
}
public boolean getEclipseSupport() {
return eclipseSupport;
}
public boolean isTestSupport() {
return testSupport;
}
public void setTestSupport(boolean testSupport) {
this.testSupport = testSupport;
}
public boolean isFaceletsSupport() {
return faceletsSupport;
}
public void setFaceletsSupport(boolean faceletsSupport) {
this.faceletsSupport = faceletsSupport;
}
public boolean isBasicProject() {
return basicProject;
}
public void setBasicProject(boolean basicProject) {
this.basicProject = basicProject;
}
public String getIsolationClassLoadingName() {
return isolationClassLoadingName;
}
public void setIsolationClassLoadingName(String isolationClassLoadingName) {
this.isolationClassLoadingName = isolationClassLoadingName;
}
public String getOutputLocation() {
return outputLocation;
}
public void setOutputLocation(String outputLocation)
{
this.outputLocation = outputLocation;
}
public boolean isDebug() {
return debug;
}
public void setDebug(boolean debug) {
this.debug = debug;
}
public boolean isMyFacesLifecycleBug() {
return myFacesLifecycleBug;
}
public void setMyFacesLifecycleBug(boolean myFacesLifecycleBug) {
this.myFacesLifecycleBug = myFacesLifecycleBug;
}
public boolean isEmbeddedEJB() {
return embeddedEJB;
}
public void setEmbeddedEJB(boolean embeddedEJB) {
this.embeddedEJB = embeddedEJB;
}
public String getSeamExtension() {
return seamExtension;
}
public void setSeamExtension(String seamExtension) {
this.seamExtension = seamExtension;
}
public String getJsfExtension() {
return jsfExtension;
}
public void setJsfExtension(String jsfExtension) {
this.jsfExtension = jsfExtension;
}
public String getSeamLocation() {
return seamLocation;
}
public void setSeamLocation(String seamLocation) {
this.seamLocation = seamLocation;
}
}
1.1 date: 2006/08/08 11:33:13; author: theute; state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/contexts/EarContext.java
Index: EarContext.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.seam.tools.contexts;
/**
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @version <tt>$Revision: 1.1 $</tt>
*/
public class EarContext {
private String contentDirectory;
private String outputLocation;
private String displayName;
public String getContentDirectory() {
return contentDirectory;
}
public void setContentDirectory(String contentDirectory) {
this.contentDirectory = contentDirectory;
}
public String getOutputLocation() {
return outputLocation;
}
public void setOutputLocation(String outputLocation) {
this.outputLocation = outputLocation;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
}
More information about the jboss-cvs-commits
mailing list