Solve a architecture bug (to get the metadata file)
Add .checkstyle in .svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@550776 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/plugin/src/main/java/org/apache/felix/ipojo/plugin/ManipulatorMojo.java b/ipojo/plugin/src/main/java/org/apache/felix/ipojo/plugin/ManipulatorMojo.java
index c2393e9..c9a7636 100644
--- a/ipojo/plugin/src/main/java/org/apache/felix/ipojo/plugin/ManipulatorMojo.java
+++ b/ipojo/plugin/src/main/java/org/apache/felix/ipojo/plugin/ManipulatorMojo.java
@@ -51,22 +51,21 @@
public void execute() throws MojoExecutionException, MojoFailureException {
getLog().info("Start bundle manipulation");
-
// Get metadata file
- File meta = new File(outputDirectory + "\\" + metadata);
+ File meta = new File(outputDirectory + "/" + metadata);
getLog().info("Metadata File : " + meta.getAbsolutePath());
if(!meta.exists()) {
throw new MojoExecutionException("the specified metadata file does not exists");
}
// Get input bundle
- File in = new File(buildDirectory + "\\" + jarName + ".jar" );
+ File in = new File(buildDirectory + "/" + jarName + ".jar" );
getLog().info("Input Bundle File : " + in.getAbsolutePath());
if(!in.exists()) {
throw new MojoExecutionException("the specified bundle file does not exists");
}
- File out = new File(buildDirectory + "\\_out.jar");
+ File out = new File(buildDirectory + "/_out.jar");
Pojoization pojo = new Pojoization();
pojo.pojoization(in, out, meta);