Using the <classpathPrefix>.\</classpathPrefix> tag I want to get ".\" (backslash) as 
prefix but the manifest file contains "./" (slash) prefixes. Unfortunatelly running the jar under 
WinXP doesn't recognizes paths with slashes :(
I wrote to the list because I didn't found any information in doc pages to 
handle this problem.

Regards,
th


Paolo Compieta írta:
Using the
  <classpathPrefix>.\</classpathPrefix>
tag, you're telling the Jar plugin to put that prefix - and it seems to
behave correctly.

always visit the plugin's doc pages for details:
http://maven.apache.org/plugins/maven-jar-plugin/ Maven Jar Plugin http://maven.apache.org/shared/maven-archiver/examples/classpath.html Maven Archiver
Regards,
PC


Thalmeiner Zsolt wrote:
Hello,

I'm building a Java project using Maven 2.0.9 and JVM 1.5.0_14 on Windows XP. My project depends on runtime from some jar files that are resides in the same directory with my jar so I put this configuration to my pom.xml:
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
              <classpathPrefix>.\</classpathPrefix>
            </manifest>
          </archive>
        </configuration>
      </plugin>
After build the manifest file in my jar file contains all dependencies with prefix "./"
Is this a bug or I missed something?

Regards,
th



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to