IDEMPIERE-4357:ClassLocator.warn: Replicate resource by jetty append lib on standard web folder (#155)

This commit is contained in:
hieplq 2020-07-04 20:21:49 +07:00 committed by GitHub
parent f4337b1b2a
commit beec96b332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 41 deletions

View File

@ -12,29 +12,6 @@
<build>
<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>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<attributes>
<attribute name="module" value="true"/>
@ -7,8 +10,5 @@
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<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"/>
</classpath>

View File

@ -58,9 +58,9 @@ Import-Package: groovy.transform.stc;version="2.4.7",
org.springframework.web.util
DynamicImport-Package: action.images
Bundle-ClassPath: .,
WEB-INF/lib/ckez.jar,
WEB-INF/lib/daisydiff.jar,
WEB-INF/lib/owasp-java-html-sanitizer.jar
lib/ckez.jar,
lib/daisydiff.jar,
lib/owasp-java-html-sanitizer.jar
Export-Package: fi.jawsy.jawwa.zk.atmosphere,
metainfo.zk,
org.adempiere.webui,

View File

@ -33,9 +33,9 @@ bin.includes = META-INF/,\
OSGI-INF/jfgchartrenderer.xml,\
manifest.json,\
pdf.js/,\
WEB-INF/lib/ckez.jar,\
WEB-INF/lib/daisydiff.jar,\
WEB-INF/lib/owasp-java-html-sanitizer.jar,\
lib/ckez.jar,\
lib/daisydiff.jar,\
lib/owasp-java-html-sanitizer.jar,\
.
src.includes = WEB-INF/tld/,\
WEB-INF/web.xml,\

View File

@ -25,7 +25,7 @@
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}/WEB-INF/lib</directory>
<directory>${project.basedir}/lib</directory>
<includes>
<include>*.jar</include>
</includes>
@ -61,7 +61,7 @@
<version>20190503.1</version>
</artifactItem>
</artifactItems>
<outputDirectory>WEB-INF/lib</outputDirectory>
<outputDirectory>lib</outputDirectory>
<stripVersion>true</stripVersion>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="lib/idempiere-xmlbeans.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
@ -7,6 +8,5 @@
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<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"/>
</classpath>

View File

@ -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.soap-api;bundle-version="1.4.1"
Bundle-ClassPath: .,
WEB-INF/lib/idempiere-xmlbeans.jar
lib/idempiere-xmlbeans.jar
Export-Package: org.compiere.model,
org.idempiere.adInterface.x10,
org.idempiere.adInterface.x10.impl,

View File

@ -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
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

View File

@ -6,7 +6,7 @@ bin.includes = META-INF/,\
WEB-INF/xsd/,\
plugin.xml,\
OSGI-INF/,\
WEB-INF/lib/idempiere-xmlbeans.jar
src.includes = WEB-INF/lib/,\
lib/idempiere-xmlbeans.jar
src.includes = lib/,\
WEB-INF/web.xml,\
WEB-INF/xsd/

View File

@ -26,7 +26,7 @@
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}/WEB-INF/lib</directory>
<directory>${project.basedir}/lib</directory>
<includes>
<include>*.jar</include>
</includes>
@ -57,7 +57,7 @@
<configuration>
<url>${url.file.srv}/extra.jar/idempiere-xmlbeans-1.0.jar</url>
<unpack>false</unpack>
<outputDirectory>WEB-INF/lib</outputDirectory>
<outputDirectory>lib</outputDirectory>
<retries>5</retries>
<outputFileName>idempiere-xmlbeans.jar</outputFileName>
</configuration>