Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stp-dev]: [Bug 162732] refactor to dynamically collect cxf libs from its installation]

Hi Rob,

Thanks for the info. This bug is about the build classpaths for a jax-ws project. Each project depends on a JAX-WS runtime to be compiled and run. When creating such a project, we need find necessary jars from a specific runtime installation and apply them to the build classpath for the project. Previously we keep those jar names in a bunch of static variables in our code, however, it works only for a specific version of the runtime. The fact is the runtime (currently CXF) keeps updating and changing its libraries and their names so that it becomes difficult to track the changes in our code. So in order to solve this issue, I removed the static names from our code and let it get them in the current runtime installation location.

Looks like your way of dealing with driver jars can handle dynamical classpath changes, is it true?

Howard



rcernich@xxxxxxxxxx wrote:
Hey Howard,

I'm not quite sure what this defect covers, but I thought I'd mention this
piece of functionality that was recently added to the connectivity
framework.  Driver instances, defined by the user can now be associated
with Java projects.  This adds the classpath defined in the driver instance
to the Java project through the classpath container extension.

If you have you're connection profile setup to reference a driver instance.
The driver JAR specified by the user would then be applied to the Java
project.  (However, this is unnecessary if you are bundling the JAR with
your plugin.)

(Some background...  This was added per community request.  Developers
thought it would be good if they could simply apply the classpath they used
for their driver definition to a Java project.  The DTP use case would be
for developing a Java DB based application; the driver is used to create
the DB connection, which is used by the SQL tools (editor, etc.), which are
used to generate queries, which are used in the Java application.)

Once again, if I've missed the point of the defect, please treat this
simply as notification of a new feature in the connectivity framework that
you might find useful.

Best regards,
Rob

_______________________________________________
stp-dev mailing list
stp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/stp-dev


--
Howard Gao
Senior Engineer
IONA Asia Pacific Software Development Center
No.2 Floor A Unit Information Center
Zhongguancun Software Park Haidian District,
Beijing, P.R.China

Tel.: +86-10-82825151 -  ex. 555
Fax: +86-10-8282-5210
howard.gao@xxxxxxxx



Back to the top