IDEMPIERE-4357:ClassLocator.warn: Replicate resource by jetty append lib on standard web folder (#155)
This commit is contained in:
parent
f4337b1b2a
commit
beec96b332
|
@ -12,29 +12,6 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>auto-clean</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>clean</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<filesets>
|
|
||||||
<fileset>
|
|
||||||
<directory>${project.basedir}/WEB-INF/lib</directory>
|
|
||||||
<includes>
|
|
||||||
<include>*.jar</include>
|
|
||||||
</includes>
|
|
||||||
<followSymlinks>false</followSymlinks>
|
|
||||||
</fileset>
|
|
||||||
</filesets>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>tycho-compiler-plugin</artifactId>
|
<artifactId>tycho-compiler-plugin</artifactId>
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
|
<classpathentry exported="true" kind="lib" path="lib/ckez.jar"/>
|
||||||
|
<classpathentry exported="true" kind="lib" path="lib/daisydiff.jar"/>
|
||||||
|
<classpathentry exported="true" kind="lib" path="lib/owasp-java-html-sanitizer.jar"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="module" value="true"/>
|
<attribute name="module" value="true"/>
|
||||||
|
@ -7,8 +10,5 @@
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||||
<classpathentry kind="src" path="WEB-INF/src/"/>
|
<classpathentry kind="src" path="WEB-INF/src/"/>
|
||||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/ckez.jar"/>
|
|
||||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/daisydiff.jar"/>
|
|
||||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/owasp-java-html-sanitizer.jar"/>
|
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -58,9 +58,9 @@ Import-Package: groovy.transform.stc;version="2.4.7",
|
||||||
org.springframework.web.util
|
org.springframework.web.util
|
||||||
DynamicImport-Package: action.images
|
DynamicImport-Package: action.images
|
||||||
Bundle-ClassPath: .,
|
Bundle-ClassPath: .,
|
||||||
WEB-INF/lib/ckez.jar,
|
lib/ckez.jar,
|
||||||
WEB-INF/lib/daisydiff.jar,
|
lib/daisydiff.jar,
|
||||||
WEB-INF/lib/owasp-java-html-sanitizer.jar
|
lib/owasp-java-html-sanitizer.jar
|
||||||
Export-Package: fi.jawsy.jawwa.zk.atmosphere,
|
Export-Package: fi.jawsy.jawwa.zk.atmosphere,
|
||||||
metainfo.zk,
|
metainfo.zk,
|
||||||
org.adempiere.webui,
|
org.adempiere.webui,
|
||||||
|
|
|
@ -33,9 +33,9 @@ bin.includes = META-INF/,\
|
||||||
OSGI-INF/jfgchartrenderer.xml,\
|
OSGI-INF/jfgchartrenderer.xml,\
|
||||||
manifest.json,\
|
manifest.json,\
|
||||||
pdf.js/,\
|
pdf.js/,\
|
||||||
WEB-INF/lib/ckez.jar,\
|
lib/ckez.jar,\
|
||||||
WEB-INF/lib/daisydiff.jar,\
|
lib/daisydiff.jar,\
|
||||||
WEB-INF/lib/owasp-java-html-sanitizer.jar,\
|
lib/owasp-java-html-sanitizer.jar,\
|
||||||
.
|
.
|
||||||
src.includes = WEB-INF/tld/,\
|
src.includes = WEB-INF/tld/,\
|
||||||
WEB-INF/web.xml,\
|
WEB-INF/web.xml,\
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
<directory>${project.basedir}/WEB-INF/lib</directory>
|
<directory>${project.basedir}/lib</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>*.jar</include>
|
<include>*.jar</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
<version>20190503.1</version>
|
<version>20190503.1</version>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
<outputDirectory>WEB-INF/lib</outputDirectory>
|
<outputDirectory>lib</outputDirectory>
|
||||||
<stripVersion>true</stripVersion>
|
<stripVersion>true</stripVersion>
|
||||||
<overWriteReleases>true</overWriteReleases>
|
<overWriteReleases>true</overWriteReleases>
|
||||||
<overWriteSnapshots>true</overWriteSnapshots>
|
<overWriteSnapshots>true</overWriteSnapshots>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
|
<classpathentry exported="true" kind="lib" path="lib/idempiere-xmlbeans.jar"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="module" value="true"/>
|
<attribute name="module" value="true"/>
|
||||||
|
@ -7,6 +8,5 @@
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||||
<classpathentry kind="src" path="WEB-INF/src/"/>
|
<classpathentry kind="src" path="WEB-INF/src/"/>
|
||||||
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/idempiere-xmlbeans.jar"/>
|
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -99,7 +99,7 @@ Require-Bundle: org.adempiere.base;bundle-version="0.0.0",
|
||||||
jakarta.xml.ws-api;bundle-version="2.3.2",
|
jakarta.xml.ws-api;bundle-version="2.3.2",
|
||||||
jakarta.xml.soap-api;bundle-version="1.4.1"
|
jakarta.xml.soap-api;bundle-version="1.4.1"
|
||||||
Bundle-ClassPath: .,
|
Bundle-ClassPath: .,
|
||||||
WEB-INF/lib/idempiere-xmlbeans.jar
|
lib/idempiere-xmlbeans.jar
|
||||||
Export-Package: org.compiere.model,
|
Export-Package: org.compiere.model,
|
||||||
org.idempiere.adInterface.x10,
|
org.idempiere.adInterface.x10,
|
||||||
org.idempiere.adInterface.x10.impl,
|
org.idempiere.adInterface.x10.impl,
|
||||||
|
|
|
@ -12,7 +12,7 @@ the new webservice will have the following parameters:
|
||||||
Note, if you need to define new datatypes you need to define them in WEB-INF/xsd/idempiere-schema.xsd
|
Note, if you need to define new datatypes you need to define them in WEB-INF/xsd/idempiere-schema.xsd
|
||||||
and generate the idempiere-xmlbeans.jar again with this command:
|
and generate the idempiere-xmlbeans.jar again with this command:
|
||||||
|
|
||||||
scomp -out ./WEB-INF/lib/idempiere-xmlbeans.jar ./WEB-INF/xsd/idempiere-schema.xsd
|
scomp -out ./lib/idempiere-xmlbeans.jar ./WEB-INF/xsd/idempiere-schema.xsd
|
||||||
|
|
||||||
scomp will generate the corresponding classes to manipulate the xml objects from the messages
|
scomp will generate the corresponding classes to manipulate the xml objects from the messages
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ bin.includes = META-INF/,\
|
||||||
WEB-INF/xsd/,\
|
WEB-INF/xsd/,\
|
||||||
plugin.xml,\
|
plugin.xml,\
|
||||||
OSGI-INF/,\
|
OSGI-INF/,\
|
||||||
WEB-INF/lib/idempiere-xmlbeans.jar
|
lib/idempiere-xmlbeans.jar
|
||||||
src.includes = WEB-INF/lib/,\
|
src.includes = lib/,\
|
||||||
WEB-INF/web.xml,\
|
WEB-INF/web.xml,\
|
||||||
WEB-INF/xsd/
|
WEB-INF/xsd/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<filesets>
|
<filesets>
|
||||||
<fileset>
|
<fileset>
|
||||||
<directory>${project.basedir}/WEB-INF/lib</directory>
|
<directory>${project.basedir}/lib</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>*.jar</include>
|
<include>*.jar</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<url>${url.file.srv}/extra.jar/idempiere-xmlbeans-1.0.jar</url>
|
<url>${url.file.srv}/extra.jar/idempiere-xmlbeans-1.0.jar</url>
|
||||||
<unpack>false</unpack>
|
<unpack>false</unpack>
|
||||||
<outputDirectory>WEB-INF/lib</outputDirectory>
|
<outputDirectory>lib</outputDirectory>
|
||||||
<retries>5</retries>
|
<retries>5</retries>
|
||||||
<outputFileName>idempiere-xmlbeans.jar</outputFileName>
|
<outputFileName>idempiere-xmlbeans.jar</outputFileName>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue