All of this was working just fine on my computer at work, but I'm seeing a strange failure in the iPOJO Maven plugin on my home computer.
Whenever I run "mvn package", an exception gets thrown near the end of org.apache.felix.ipojo.manipulation.Manupulator.preProcess() in the code section here: ,---- | File file = null; | try { | file = new File(url.getFile()); | | //file.createNewFile(); | FileOutputStream fos = new FileOutputStream(file); | | fos.write(cw0.toByteArray()); | | fos.close(); | IPojoPluginConfiguration.getLogger().log(Level.INFO, "Put the file " + file.getAbsolutePath() + " in the jar file"); | } catch (Exception e) { System.err.println("Problem to write the adapted class on the file system " + " [ "+ file.getAbsolutePath() +" ] " + e.getMessage()); } `---- My guess is that the exception is FileNotFoundException, thrown from the FileOutputStream constructor. I can't run this code in my debugger, so I'm guessing about that. The output of "e.getMessage()" logged to the console is: The system cannot find the path specified Now, the class file in question is there on my disk at the path indicated, and it's both readable and writable by me. Any idea what could be going on here? -- Steven E. Harris