on 06-08-2007 11:05 AM
Hello Experts,
I have built a WebDynpro application in which I need to resize images (JPG, PNG and GIF). I use standard library :
boolean writeResult = ImageIO.write(bufferedImg, fileExtension, streamOut);
This works fine, except for the GIF format for which there is no standard writer.
I decided to use <a href="https://gif-plugin.dev.java.net/">gif-plugin</a> which should do the trick.
According to the plugin documentation : "<i>Just copy the plugin jar to somewhere in the classpath.
The jdk should automatically detect the plugin</i>".
I added the jar in an external library, exactly the same I do for other external jars I use.
I can see the jar in the classpath when opening 'Project > properties > Java Build Path > Libraries"
But seems that it is not been added to the classpath at runtime because plugin is not detected.
Do you have any hint on that ?
Thanks a lot.
Regards,
Nicolas
In your external library DC you should create public part with type assembly - and add neccessary libs to in. Build it.
IN Webdynpro DC you should add reference on created pp with type 'build'. Build WD DC - now Wd ear file should contain required custom jar and will be able to use it on runtime.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.