mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-11-16 21:33:21 +00:00
Refactor module "server" -> structure de webapp
This commit is contained in:
parent
2de8479cbc
commit
e6eacf4ea8
8
Workspace/.idea/artifacts/server_war.xml
Normal file
8
Workspace/.idea/artifacts/server_war.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="war" name="server:war">
|
||||
<output-path>$PROJECT_DIR$/server/target</output-path>
|
||||
<root id="archive" name="server-1.0-SNAPSHOT.war">
|
||||
<element id="artifact" artifact-name="server:war exploded" />
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
16
Workspace/.idea/artifacts/server_war_exploded.xml
Normal file
16
Workspace/.idea/artifacts/server_war_exploded.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="exploded-war" name="server:war exploded">
|
||||
<output-path>$PROJECT_DIR$/server/target/server-1.0-SNAPSHOT</output-path>
|
||||
<root id="root">
|
||||
<element id="directory" name="WEB-INF">
|
||||
<element id="directory" name="classes">
|
||||
<element id="module-output" name="server" />
|
||||
</element>
|
||||
</element>
|
||||
<element id="directory" name="META-INF">
|
||||
<element id="file-copy" path="$PROJECT_DIR$/server/target/server-1.0-SNAPSHOT/META-INF/MANIFEST.MF" />
|
||||
</element>
|
||||
<element id="javaee-facet-resources" facet="server/web/Web" />
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
@ -1,15 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="FrameworkDetectionExcludesConfiguration">
|
||||
<file type="web" url="file://$PROJECT_DIR$/server" />
|
||||
</component>
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="ignoredFiles">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$/server/pom.xml" />
|
||||
</set>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
|
@ -6,6 +6,7 @@
|
||||
<module fileurl="file://$PROJECT_DIR$/client/client.iml" filepath="$PROJECT_DIR$/client/client.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/core/core.iml" filepath="$PROJECT_DIR$/core/core.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/server/server.iml" filepath="$PROJECT_DIR$/server/server.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/server/server.iml" filepath="$PROJECT_DIR$/server/server.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -10,7 +10,7 @@
|
||||
<modules>
|
||||
<module>core</module>
|
||||
<module>client</module>
|
||||
<module>server</module>
|
||||
<module>com.pqt.server</module>
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<artifactId>server</artifactId>
|
||||
|
||||
|
@ -16,7 +16,7 @@ public class ServerStateService {
|
||||
this.serverState = new ServerState();
|
||||
|
||||
//TODO config adresse IP
|
||||
//this.server.setAddress(...);
|
||||
//this.com.pqt.server.setAddress(...);
|
||||
|
||||
this.server.setLastUpdate(new Date());
|
||||
}
|
0
Workspace/server/src/main/WEB-INF/web.xml
Normal file
0
Workspace/server/src/main/WEB-INF/web.xml
Normal file
Loading…
Reference in New Issue
Block a user