Hi all,

I want to develop some kind of plugin mechanism for my application.
Every plugin is a new jar file that I put on my classpath. Each plugin
has a configuration file that is called plugin.xml which is located in
the jar file.

At startup I must read all plugin.xml files from the classpath. Let's
say that I have 5 plugins (jars) installed, I must read 5 plugin.xml
files.

I Qt Jambi you can easily access files from the classpath by
specifying the path on a QFile that starts with "classpath:". But is
there an easy way to retrieve a list of files with the same name. All
my plugin.xml files are on the classpath, but located in different
jar-files. How can I read all the files that the system can find? Is
this supported in Qt Jambi?

/Dimitri
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to