riwarek commented on issue #2179:
URL:
https://github.com/apache/logging-log4j2/issues/2179#issuecomment-1886782621
@ppkarwasz
No this is ok.
This is part of my ant script:
`<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<!--creation of basic scolog.jar-->
<target name="build of JAR" depends="preparation">
<jar destfile="${OUT_DIR}\${APP_NAME}.jar">
<manifest>
<attribute name="Main-Class"
value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader" />
<attribute name="Rsrc-Main-Class"
value="rmdev.scolog.SCoLog" />
<attribute name="Class-Path" value="." />
<attribute name="Rsrc-Class-Path" value="./
lib/log4j/log4j-api-3.0.-beta1.jar lib/log4j/log4j-core-3.0.-beta1.jar
lib/log4j/log4j-plugins-3.0.-beta1.jar lib/jdatepicker-1.3.4.jar" />
<!--<attribute name="Rsrc-Class-Path" value="./
lib/log4j/log4j-api-2.22.1.jar lib/log4j/log4j-core-2.22.1.jar
lib/jdatepicker-1.3.4.jar" />-->
</manifest>
<zipfileset src="jar-in-jar-loader.zip" />
<!--<zipfileset
dir="${WORKSPACE_DIR}\${PROJECT_NAME}\production\additional_input\data"
includes="**/*.*" prefix="data" />-->
<zipfileset dir="${WORKSPACE_DIR}\${PROJECT_NAME}\lib"
includes="**/*.jar" prefix="lib" />
<fileset dir="../bin" />
</jar>
</target>`
And this is structure of my libs in project:

And this is eclipse 'configure build path':

Simply speaking I forced all libs to be in /lib in uberjar to avioid mess
caused by presence of jars in root of uberjar.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]