Hi I am working on an ant task that takes creates a an ant classpath ref for the dependencies in a project. I have the project and dependencies, but need to create artifacts from the dependecies to get the filepath for the dependency. I could of course concatenate together this by using the available attributes from the dependency, but I feel that going trhough an artifact would be a cleaner way. I have tried to create a DefaultArtifactFactory, but I get a NPE when I call the createArtifact method. The NPE stems from : artifactHandlerManager.getArtifactHandler( type ); Looking at the code, there is no setter for the artifactHandlerManager so this will always be null. Is there another implementation/subclass of the DefaultArtifactFactory that I should use instead, or am I barking up the wrong tree here.
Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]