Insubstantial / insubstantial

Swing look-and-feel library and assorted widgets
195 stars 57 forks source link

asm:asm-all dependency #45

Closed flynnk closed 13 years ago

flynnk commented 13 years ago

... breaks groovy if on the same classpath. This was present in 6.2.

shemnon commented 13 years ago

Have you tried 7.0? I changed ASM to provided in the most current release. And yes, this is a change from 6.2.

flynnk commented 13 years ago

I have not tried 7.0 yet; going to go through the core libraries of all our stuff next week and update things (new Guava is out, all the insubstantial stuff, etc.).

What provides it?

shemnon commented 13 years ago

provided is a maven thing that says "compile with this but don't ship it." That and ant are the two provides. They are only needed for build time stuff, perhaps I should strip it into a classified version of the jar that includes the ant task and such.

On Fri, Oct 28, 2011 at 3:28 PM, flynnk < reply@reply.github.com>wrote:

I have not tried 7.0 yet; going to go through the core libraries of all our stuff next week and update things (new Guava is out, all the insubstantial stuff, etc.).

What provides it?

Reply to this email directly or view it on GitHub:

https://github.com/Insubstantial/insubstantial/issues/45#issuecomment-2561412


"But you didn't." - Jim Halpert, The Office S05E23

flynnk commented 13 years ago

I think the "maven way" here is to have a separate artifact that has that dependency that would be included on the dependency path for some sort of maven plugin. "provided" means it has to be there at runtime. It's really meant for things that have some sort of plugin framework (like J2EE container built in dependencies, or we have our own plugin framework for our apps that does provided for stuff).

What actually requires the ant and asm stuff? I seem to remember there being a blog about it a couple of years ago, but we apparently don't use that part of things...

shemnon commented 13 years ago

laf-widget or laf-plugin, not sure which. They do some post compile processing to do some boilerplate stuff for complex but repetitive things like shadows that isn't ameniable to cut and paste.

flynnk commented 13 years ago

Does it need to be a dependency at all?

flynnk commented 13 years ago

Did you also mark ant as provided or drop the dependency? That is currently (6.2) yanked in by laf-widget, which seems to be the case in the latest gradle trunk.

shemnon commented 13 years ago

Marked as provided. On Nov 16, 2011 9:04 PM, "flynnk" < reply@reply.github.com> wrote:

Did you also mark ant as provided or drop the dependency? That is currently (6.2) yanked in by laf-widget, which seems to be the case in the latest gradle trunk.


Reply to this email directly or view it on GitHub:

https://github.com/Insubstantial/insubstantial/issues/45#issuecomment-2771896

flynnk commented 13 years ago

Cool. Thanks!