Hi,

Could you send us the build.xml triggering this error ? The best would be a 
small project that I can run.

Thanks,

Clement

On 23.09.2010, at 09:44, Guillaume Sauthier wrote:

> Not really an answer to your problem but a workaround :)
> 
> There are some available rxtx bundles:
> http://maven.ow2.org/maven2/org/rxtx/org.ow2.chameleon.commons.rxtx/
> 
> BTW, having the fragment of build.xml defining the executed targets could 
> help.
> 
> Cheers
> --Guillaume
> 
> Le 22/09/2010 22:47, Joel Schuster a écrit :
>> When using the iPojo ant task on Windows 7 I get the following error, on 
>> WinXP I do not see this problem.
>> 
>> If I include a pre-step to delete the end resulting jar before running, I do 
>> not get the error. However, the jar doesn't work in felix (never loads the 
>> service). If I build on WinXP it will work just fine.
>> 
>> Any thoughts?
>> 
>> Apache Ant version 1.7.1 compiled on June 27 2008
>> Buildfile: C:\dev\workspaces\brooks\boreal.comms.serial.rxtx\build.xml
>> parsing buildfile 
>> C:\dev\workspaces\brooks\boreal.comms.serial.rxtx\build.xml with URI = 
>> file:/C:/dev/workspaces/brooks/boreal.comms.serial.rxtx/build.xml
>> Project base dir set to: C:\dev\workspaces\brooks\boreal.comms.serial.rxtx
>> [antlib:org.apache.tools.ant] Could not load definitions from resource 
>> org/apache/tools/ant/antlib.xml. It could not be found.
>> Build sequence for target(s) `jar' is [bnd, ipojo, jar]
>> Complete build sequence is [bnd, ipojo, jar, ]
>> bnd:
>>       [bnd] # com.boreal.comms.serial.rxtx 
>> (com.boreal.comms.serial.rxtx.jar) 58 (not modified)
>> ipojo:
>>     [ipojo] Input bundle file : 
>> C:\dev\workspaces\brooks\boreal.comms.serial.rxtx\com.boreal.comms.serial.rxtx.jar
>>     [ipojo] Metadata file : 
>> C:\dev\workspaces\brooks\boreal.comms.serial.rxtx\metadata.xml
>>     [ipojo] Start manipulation
>>     [ipojo] Cannot get the manifest : invalid header field
>> 
>> BUILD FAILED
>> C:\dev\workspaces\brooks\boreal.comms.serial.rxtx\build.xml:21: 
>> java.lang.NullPointerException: man
>>       at 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
>>       at org.apache.tools.ant.Task.perform(Task.java:348)
>>       at org.apache.tools.ant.Target.execute(Target.java:357)
>>       at org.apache.tools.ant.Target.performTasks(Target.java:385)
>>       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>>       at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>       at 
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>       at 
>> org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>>       at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>>       at 
>> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
>>       at 
>> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
>> Caused by: java.lang.NullPointerException: man
>>       at java.util.jar.JarOutputStream.<init>(Unknown Source)
>>       at 
>> org.apache.felix.ipojo.manipulator.Pojoization.manipulateJarFile(Pojoization.java:337)
>>       at 
>> org.apache.felix.ipojo.manipulator.Pojoization.pojoization(Pojoization.java:229)
>>       at org.apache.felix.ipojo.task.IPojoTask.execute(IPojoTask.java:199)
>>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>       at java.lang.reflect.Method.invoke(Unknown Source)
>>       at 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>       ... 10 more
>> 
>>   
> 
> 
> ---------------------------------------------------------------------
> 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