修訂 | 0c1ba6629e766ad8d901ec42678c7f188adc88c3 (tree) |
---|---|
時間 | 2021-09-29 02:59:08 |
作者 | Sebastian Bugiu <sebastian.bugiu@head...> |
Commiter | Sebastian Bugiu |
Adapted stuff for glassfish5.
@@ -0,0 +1,4 @@ | ||
1 | +# Datasource local storage ignored files | |
2 | +.idea/dataSources/ | |
3 | +.svn/* | |
4 | +out/* |
@@ -0,0 +1,8 @@ | ||
1 | +<component name="ArtifactManager"> | |
2 | + <artifact type="exploded-ear" name="HotshotWebServer5:javaEEApplication exploded"> | |
3 | + <output-path>$PROJECT_DIR$/out/artifacts/HotshotWebServer5_javaEEApplication_exploded</output-path> | |
4 | + <root id="root"> | |
5 | + <element id="javaee-facet-resources" facet="HotshotWebServer5/javaeeApplication/javaEEApplication" /> | |
6 | + </root> | |
7 | + </artifact> | |
8 | +</component> | |
\ No newline at end of file |
@@ -11,6 +11,8 @@ | ||
11 | 11 | <element id="library" level="project" name="Mojarra-2.2.1" /> |
12 | 12 | <element id="library" level="project" name="JPA 2.1-JPA 2.1" /> |
13 | 13 | <element id="library" level="project" name="gson-2.3.1-javadoc" /> |
14 | + <element id="library" level="project" name="JAX-RS-2.1.1" /> | |
15 | + <element id="library" level="project" name="mysql.connector.java" /> | |
14 | 16 | </element> |
15 | 17 | </element> |
16 | 18 | </root> |
@@ -2,17 +2,10 @@ | ||
2 | 2 | <project version="4"> |
3 | 3 | <component name="DataSourceManagerImpl" format="xml" multifile-model="true"> |
4 | 4 | <data-source source="LOCAL" name="MySQL - hotshot_user_stats@localhost" uuid="f575cc8a-3110-42b4-8bae-b44f8aa70b2d"> |
5 | - <driver-ref>mysql</driver-ref> | |
5 | + <driver-ref>mysql.8</driver-ref> | |
6 | 6 | <synchronize>true</synchronize> |
7 | - <jdbc-driver>com.mysql.jdbc.Driver</jdbc-driver> | |
7 | + <jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver> | |
8 | 8 | <jdbc-url>jdbc:mysql://localhost:3306/hotshot_user_stats</jdbc-url> |
9 | - <driver-properties> | |
10 | - <property name="zeroDateTimeBehavior" value="convertToNull" /> | |
11 | - <property name="tinyInt1isBit" value="false" /> | |
12 | - <property name="characterEncoding" value="utf8" /> | |
13 | - <property name="characterSetResults" value="utf8" /> | |
14 | - <property name="yearIsDateType" value="false" /> | |
15 | - </driver-properties> | |
16 | 9 | </data-source> |
17 | 10 | </component> |
18 | 11 | </project> |
\ No newline at end of file |
@@ -0,0 +1,10 @@ | ||
1 | +<component name="libraryTable"> | |
2 | + <library name="JAX-RS-2.1.1" type="JAX-RS"> | |
3 | + <properties version="2.1.1" /> | |
4 | + <CLASSES> | |
5 | + <root url="jar://$PROJECT_DIR$/lib/javax.ws.rs-api-2.1.1.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
\ No newline at end of file |
@@ -1,31 +0,0 @@ | ||
1 | -<component name="libraryTable"> | |
2 | - <library name="Jersey-2.2" type="JAX-RS"> | |
3 | - <properties version="2.2" /> | |
4 | - <CLASSES> | |
5 | - <root url="jar://$PROJECT_DIR$/lib/jersey-client.jar!/" /> | |
6 | - <root url="jar://$PROJECT_DIR$/lib/cglib-2.2.0-b14.jar!/" /> | |
7 | - <root url="jar://$PROJECT_DIR$/lib/jersey-container-servlet-core.jar!/" /> | |
8 | - <root url="jar://$PROJECT_DIR$/lib/jersey-common.jar!/" /> | |
9 | - <root url="jar://$PROJECT_DIR$/lib/asm-all-repackaged-2.2.0-b14.jar!/" /> | |
10 | - <root url="jar://$PROJECT_DIR$/lib/jersey-container-servlet.jar!/" /> | |
11 | - <root url="jar://$PROJECT_DIR$/lib/javax.ws.rs-api-2.0.jar!/" /> | |
12 | - <root url="jar://$PROJECT_DIR$/lib/jersey-server.jar!/" /> | |
13 | - <root url="jar://$PROJECT_DIR$/lib/hk2-locator-2.2.0-b14.jar!/" /> | |
14 | - <root url="jar://$PROJECT_DIR$/lib/hk2-api-2.2.0-b14.jar!/" /> | |
15 | - <root url="jar://$PROJECT_DIR$/lib/hk2-utils-2.2.0-b14.jar!/" /> | |
16 | - <root url="jar://$PROJECT_DIR$/lib/javax.annotation-api-1.2.jar!/" /> | |
17 | - <root url="jar://$PROJECT_DIR$/lib/jaxb-api-2.2.7.jar!/" /> | |
18 | - <root url="jar://$PROJECT_DIR$/lib/javax.servlet-api-3.0.1.jar!/" /> | |
19 | - <root url="jar://$PROJECT_DIR$/lib/javax.inject-2.2.0-b14.jar!/" /> | |
20 | - <root url="jar://$PROJECT_DIR$/lib/guava-14.0.1.jar!/" /> | |
21 | - <root url="jar://$PROJECT_DIR$/lib/org.osgi.core-4.2.0.jar!/" /> | |
22 | - <root url="jar://$PROJECT_DIR$/lib/osgi-resource-locator-1.0.1.jar!/" /> | |
23 | - <root url="jar://$PROJECT_DIR$/lib/validation-api-1.1.0.Final.jar!/" /> | |
24 | - <root url="jar://$PROJECT_DIR$/lib/persistence-api-1.0.jar!/" /> | |
25 | - </CLASSES> | |
26 | - <JAVADOC> | |
27 | - <root url="file://C:/glassfish4/docs/api" /> | |
28 | - </JAVADOC> | |
29 | - <SOURCES /> | |
30 | - </library> | |
31 | -</component> | |
\ No newline at end of file |
@@ -1,32 +0,0 @@ | ||
1 | -<component name="libraryTable"> | |
2 | - <library name="aopalliance-repackaged-2.4.0-b09"> | |
3 | - <CLASSES> | |
4 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/aopalliance-repackaged-2.4.0-b09.jar!/" /> | |
5 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/asm-debug-all-5.0.2.jar!/" /> | |
6 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/hk2-api-2.4.0-b09.jar!/" /> | |
7 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/hk2-locator-2.4.0-b09.jar!/" /> | |
8 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/hk2-utils-2.4.0-b09.jar!/" /> | |
9 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/javassist-3.18.1-GA.jar!/" /> | |
10 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/javax.annotation-api-1.2.jar!/" /> | |
11 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/javax.inject-2.4.0-b09.jar!/" /> | |
12 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/javax.servlet-api-3.0.1.jar!/" /> | |
13 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/jaxb-api-2.2.7.jar!/" /> | |
14 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/jersey-guava-2.16.jar!/" /> | |
15 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/osgi-resource-locator-1.0.1.jar!/" /> | |
16 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/persistence-api-1.0.jar!/" /> | |
17 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/validation-api-1.1.0.Final.jar!/" /> | |
18 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/api/javax.ws.rs-api-2.0.1.jar!/" /> | |
19 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/lib/jersey-client.jar!/" /> | |
20 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/lib/jersey-common.jar!/" /> | |
21 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/lib/jersey-container-servlet-core.jar!/" /> | |
22 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/lib/jersey-container-servlet.jar!/" /> | |
23 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/lib/jersey-media-jaxb.jar!/" /> | |
24 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/lib/jersey-server.jar!/" /> | |
25 | - <root url="jar://$PROJECT_DIR$/../jaxrs-ri-2.16/jaxrs-ri/ext/org.osgi.core-4.2.0.jar!/" /> | |
26 | - </CLASSES> | |
27 | - <JAVADOC> | |
28 | - <root url="file://C:/glassfish4/docs/api" /> | |
29 | - </JAVADOC> | |
30 | - <SOURCES /> | |
31 | - </library> | |
32 | -</component> | |
\ No newline at end of file |
@@ -0,0 +1,39 @@ | ||
1 | +<component name="libraryTable"> | |
2 | + <library name="asm-all-repackaged-2.2.0-b14"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/lib/asm-all-repackaged-2.2.0-b14.jar!/" /> | |
5 | + <root url="jar://$PROJECT_DIR$/lib/cglib-2.2.0-b14.jar!/" /> | |
6 | + <root url="jar://$PROJECT_DIR$/lib/gson-2.3.1.jar!/" /> | |
7 | + <root url="jar://$PROJECT_DIR$/lib/guava-14.0.1.jar!/" /> | |
8 | + <root url="jar://$PROJECT_DIR$/lib/hk2-api-2.2.0-b14.jar!/" /> | |
9 | + <root url="jar://$PROJECT_DIR$/lib/hk2-locator-2.2.0-b14.jar!/" /> | |
10 | + <root url="jar://$PROJECT_DIR$/lib/hk2-utils-2.2.0-b14.jar!/" /> | |
11 | + <root url="jar://$PROJECT_DIR$/lib/javax.annotation-api-1.2.jar!/" /> | |
12 | + <root url="jar://$PROJECT_DIR$/lib/javax.faces-2.2.1.jar!/" /> | |
13 | + <root url="jar://$PROJECT_DIR$/lib/javax.inject-2.2.0-b14.jar!/" /> | |
14 | + <root url="jar://$PROJECT_DIR$/lib/javax.persistence.jar!/" /> | |
15 | + <root url="jar://$PROJECT_DIR$/lib/javax.persistence_2.jar!/" /> | |
16 | + <root url="jar://$PROJECT_DIR$/lib/javax.servlet-api-3.0.1.jar!/" /> | |
17 | + <root url="jar://$PROJECT_DIR$/lib/javax.ws.rs-api-2.0.jar!/" /> | |
18 | + <root url="jar://$PROJECT_DIR$/lib/javax.ws.rs-api-2.1.1.jar!/" /> | |
19 | + <root url="jar://$PROJECT_DIR$/lib/jaxb-api-2.2.7.jar!/" /> | |
20 | + <root url="jar://$PROJECT_DIR$/lib/jersey-client.jar!/" /> | |
21 | + <root url="jar://$PROJECT_DIR$/lib/jersey-common.jar!/" /> | |
22 | + <root url="jar://$PROJECT_DIR$/lib/jersey-container-servlet-core.jar!/" /> | |
23 | + <root url="jar://$PROJECT_DIR$/lib/jersey-container-servlet.jar!/" /> | |
24 | + <root url="jar://$PROJECT_DIR$/lib/jersey-server.jar!/" /> | |
25 | + <root url="jar://$PROJECT_DIR$/lib/jstl-1.1.0.jar!/" /> | |
26 | + <root url="jar://$PROJECT_DIR$/lib/osgi-resource-locator-1.0.1.jar!/" /> | |
27 | + <root url="jar://$PROJECT_DIR$/lib/persistence-api-1.0.jar!/" /> | |
28 | + <root url="jar://$PROJECT_DIR$/lib/validation-api-1.1.0.Final.jar!/" /> | |
29 | + <root url="jar://$PROJECT_DIR$/lib/org.osgi.core-4.2.0.jar!/" /> | |
30 | + </CLASSES> | |
31 | + <JAVADOC> | |
32 | + <root url="jar://$PROJECT_DIR$/lib/gson-2.3.1-javadoc.jar!/" /> | |
33 | + </JAVADOC> | |
34 | + <SOURCES> | |
35 | + <root url="jar://$PROJECT_DIR$/lib/gson-2.3.1-sources.jar!/" /> | |
36 | + <root url="jar://$PROJECT_DIR$/lib/org.osgi.core-4.2.0.jar!/OSGI-OPT/src" /> | |
37 | + </SOURCES> | |
38 | + </library> | |
39 | +</component> | |
\ No newline at end of file |
@@ -0,0 +1,10 @@ | ||
1 | +<component name="libraryTable"> | |
2 | + <library name="javaee.api" type="repository"> | |
3 | + <properties maven-id="javaee:javaee-api:5" /> | |
4 | + <CLASSES> | |
5 | + <root url="jar://$PROJECT_DIR$/lib/javaee-api-5.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
\ No newline at end of file |
@@ -0,0 +1,10 @@ | ||
1 | +<component name="libraryTable"> | |
2 | + <library name="mysql.connector.java" type="repository"> | |
3 | + <properties maven-id="mysql:mysql-connector-java:5.1.49" /> | |
4 | + <CLASSES> | |
5 | + <root url="jar://$PROJECT_DIR$/lib/mysql-connector-java-5.1.49.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
\ No newline at end of file |
@@ -0,0 +1,10 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project version="4"> | |
3 | + <component name="RunConfigurationProducerService"> | |
4 | + <option name="ignoredProducers"> | |
5 | + <set> | |
6 | + <option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" /> | |
7 | + </set> | |
8 | + </option> | |
9 | + </component> | |
10 | +</project> | |
\ No newline at end of file |
@@ -37,8 +37,12 @@ | ||
37 | 37 | <orderEntry type="library" name="Mojarra-2.2.1" level="project" /> |
38 | 38 | <orderEntry type="library" name="JPA 2.1-JPA 2.1" level="project" /> |
39 | 39 | <orderEntry type="library" name="gson-2.3.1-javadoc" level="project" /> |
40 | - <orderEntry type="library" name="aopalliance-repackaged-2.4.0-b09" level="project" /> | |
41 | 40 | <orderEntry type="library" scope="TEST" name="junit:junit:4.12" level="project" /> |
42 | 41 | <orderEntry type="library" scope="PROVIDED" name="GlassFish 5.0.0" level="application_server_libraries" /> |
42 | + <orderEntry type="library" name="JAX-RS-2.1.1" level="project" /> | |
43 | + <orderEntry type="library" name="JAX-RS-2.1.1" level="project" /> | |
44 | + <orderEntry type="library" name="asm-all-repackaged-2.2.0-b14" level="project" /> | |
45 | + <orderEntry type="library" name="javaee.api" level="project" /> | |
46 | + <orderEntry type="library" name="mysql.connector.java" level="project" /> | |
43 | 47 | </component> |
44 | 48 | </module> |
\ No newline at end of file |