Original address: http://blog.csdn.net/jfok/article/details/35569057
Directory (?) [+]
Learn Extjs5 with me (02--set up project)
Let's start with a Java Project, and while the development is not related to Java at the moment, we're building Java's web environment first.
1. Enter eclipse to create a dynamic Web Project.
, Next >
, Next >
, Finish.
This completes the creation of Java project. The file directory structure is as follows:
, the war directory is the publishing directory, and our EXTJS5 project will be built under this directory.
2. Use Sencha cmd to establish the EXTJS5 environment.
under Windows go to "command Prompt" (Mac enters "terminal") to enter the Application/war directory. Enter the following command to establish the EXTJS5 project.
sencha-sdk/users/jiangfeng/documents/ext-5.0.0 Generate App App.
Please refer to the Sencha cmd Reference manual for details of the command.
The directory structure after successful execution of this command is described below:
At this point a EXTJS5 project is completed, the following we start the server, look at the actual system page.
Sencha cmd comes with a server that commands the command line:Sencha Web Start can create a service. You can also publish this project with Tomcat.
The final page shows:
After the above steps, a EXTJS5 development environment has been built. In the next section, let's look at the relationships between classes and how they interact with each other.
[To] Learn extjs5 with me (02--set up project)