Directory Structure
Directory Structure
The table below outlines the directory structure for Appcelerator Java projects.
| .classpath | File that contains your classpath for Eclispe-managed projects |
| .project | Eclipse project file. Import this file through Eclipse if you want to use Eclipse to manage your project. |
| ./app/services | contains all your Appcelerator services |
| ./app/services/org/appcelerator/test/EchoService.java | Sample Java service - used by servicetester.html |
| ./build.xml | ant build file. Just type ant to build your project WAR file |
| ./config | contains your project web.xml and build.properties files. This directory also contains the appcelerator.config file, which tracks the versions of your Appcelerator software components |
| ./lib | contains your project JAR files, including Appcelerator's JAR files that enable the Appcelerator Java SOA Integration Point |
| ./plugins | contains Appcelerator plugins. Appcelerator for Java is bundled with one plugin: war. You can run the plugin by typing app project:war |
| ./public | contains all user interface files |
| ./public/appcelerator.xml | configuration file used by Appcelerator RIAs |
| ./public/images | contains your application images and icons |
| ./public/index.html | the default HTML file bundled with your project |
| ./public/javascripts | contains your application Javascript files, including the appcelerator.js file |
| ./public/servicetester.html | a demo HTML page that works in conjunction with the bundled EchoService.java |
| ./public/stylesheets | contains your application CSS files |
| ./public/swf | contains the Flash files for our charting widget |
| ./public/upgrade_cookies.html | default page that is served if user does not have "cookies" enabled in their browser |
| ./public/upgrade_script.html | default page that is served if user does not have "javascript" enabled in their browser |
| ./public/widgets | contains Appcelerator widgets |
| ./public/src/java | contains your application's Java source (non-service files) - empty by default |
| ./public/src/WEB-INF | contains files to include in your project WEB-INF directory - empty by default |
| ./tmp | a temporary directory used by Appcelerator |