# Deployment without HTMLBasedGUI possible?

**URL:** <https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [March 7, 2006, 6:10pm UTC](https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248 "2006-03-07T18:10:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephan](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stephan](https://techcommunity.softwareag.com/u/stephan)\
**Post date:** [March 7, 2006, 6:10pm UTC](https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248/1 "2006-03-07T18:10:58Z")

</div>

Hallo!

If I delete the HTMLBasedGUI my CAI Projects stop working.  
After deleting the HTMLBasedGUI directory (I don’t want to deploy it to a customer) the first request to a CAI ‘page’ ends with a 404,  
HTTP Status 404 - /PROJEKTNAME/HTMLBasedGUI/general/aboutBlank.html  
not found.  
With HTMLBasedGUI directory everything works fine.

Can CAI Projects only be deployed with the Development environment?

Stephan  
EPOQ GmbH  
Germany

---

<div class="post-metadata">

**Author:** ![Bjoern\_Mueller](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@Bjoern\_Mueller](https://techcommunity.softwareag.com/u/Bjoern_Mueller)\
**Post date:** [April 14, 2006, 12:11pm UTC](https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248/2 "2006-04-14T12:11:11Z")

</div>

…took some time to answer, but nevertheless:  
HTMLBasedGUI is required - but not every part. There is an ANT-script avaiable for building the runtime WAR - including HTMLBasedGUI but excluding all parts that have to do with the design tools.  
Bjoern

* * *

```auto

<?xml version="1.0"?>

<!--
	Example ANT script for building a .war file.
 -->
 
<project name="Build WAR file for project" default="buildwar">

	<!-- Project description -->
  	<description>Build war file for project</description>

	<!-- Property definitions -->
  	<property name="webapp.dir" value="C:\bmu\testv14\tomcat\webapps\cis"/> <!-- location of the development webapp -->
  	<property name="tomcat.dir" value="C:\bmu\DevTools\Tomcat"/> <!-- tomcat installation -->
  	<property name="project.name" value="cisdataaccess"/> <!-- name of the project within CAI -->
  	<property name="copy.dir" value="c:/temp/buildwarbyant"/> <!-- directory that is used for temp copying -->
  	<property name="war.name" value="test.war"/> <!-- name of war file -->
  	
	<!-- Property definitions, properties taht are resolved -->
  	<property name="project.dir" value="${webapp.dir}/${project.name}"/>

	<!-- path definitions -->
	<path id="run.classpath">
	    <fileset dir="${webapp.dir}/WEB-INF/lib">
	        <include name=" **/**.jar"/>
	    </fileset>
	</path>
  	
	<!-- Republishing of HTML files in project -->
	<target name="generatehtml" description="Regenerate HTML files of project">
	    <mkdir dir="${project.dir}/log"/>
		<java classname="com.softwareag.cis.gui.generate.HTMLGeneratorWholeDirectory" classpathref="run.classpath">
			<sysproperty key="cis.home" value="${webapp.dir}/"/>
			<sysproperty key="javax.xml.parsers.SAXParserFactory" value="org.apache.crimson.jaxp.SAXParserFactoryImpl"/>
			<arg value="${project.dir}/xml"/>
			<arg value="${project.dir}"/>
			<arg value="${project.dir}/log"/>
			<arg value="${project.dir}/accesspath"/>
		</java>
	</target>

	<!-- copy files into copy.dir -->
	<target name="copyfiles" depends="generatehtml" description="Copy Files">
		<delete failonerror="false">
    		<fileset dir="${copy.dir}"/>
  		</delete>
	    <mkdir dir="${copy.dir}"/>
	    <!-- copy required directories -->
	  	<copy todir="${copy.dir}/cis"><fileset dir="${webapp.dir}/cis"/></copy>
	  	<copy todir="${copy.dir}/META-INF"><fileset dir="${webapp.dir}/META-INF"/></copy>
	  	<copy todir="${copy.dir}/WEB-INF"><fileset dir="${webapp.dir}/WEB-INF"/></copy>
	  	<copy todir="${copy.dir}/HTMLBasedGUI">
	  		<fileset dir="${webapp.dir}/HTMLBasedGUI"
                     excludes="**/*com.softwareag.cis.editor*"/> <!-- no tools -->
	  	</copy>
	  	<!-- copy project directory -->
	  	<copy todir="${copy.dir}/${project.name}"><fileset dir="${webapp.dir}/${project.name}"/></copy>
	</target>	
	
	<!-- build war file -->
	<target name="buildwar" depends="copyfiles" description="Build WAR file">
		<jar destfile="${war.name}" basedir="${copy.dir}">
		</jar>
	</target>
	
</project>
```

---

<div class="post-metadata">

**Author:** ![stephan](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stephan](https://techcommunity.softwareag.com/u/stephan)\
**Post date:** [December 5, 2006, 5:14am UTC](https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248/3 "2006-12-05T05:14:45Z")

</div>

I’m even later.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Jochen\_Wiedmann](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/jochen_wiedmann/32/96_2.png) [@Jochen\_Wiedmann](https://techcommunity.softwareag.com/u/Jochen_Wiedmann)\
**Post date:** [February 21, 2007, 2:39pm UTC](https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248/4 "2007-02-21T14:39:00Z")

</div>

> [@Bjoern Mueller](#):
>
> …took some time to answer, but nevertheless:  
> HTMLBasedGUI is required - but not every part. There is an ANT-script avaiable for building the runtime WAR - including HTMLBasedGUI but excluding all parts that have to do with the design tools.

It is excellent to have such a script. Nevertheless, I have some questions:

-   
[list]  
Is it still valid, as of 2.1?  
[/list]  
[list]  
Is it actively maintained?  
[/list]  
[list]  
Couldn’t we add this to the distribution? Or place it on another location where it it possible to watch the maintenance?  
[/list]

Thanks,

Jochen

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/deployment-without-htmlbasedgui-possible/57248/5 "2021-04-02T14:38:30Z")

</div>


