jbosstools / m2e-wro4j

m2e connector for WRO4J
Eclipse Public License 2.0
34 stars 12 forks source link

Directories in target not created #4

Closed jonnybecker closed 12 years ago

jonnybecker commented 12 years ago

Hi,

I'm working with Eclipse Juno and the m2e-wro4j - connector. I configured everything by example and everything works except the wtp-part. My problem is that the folders 'target/m2e-wtp/web-resources' are always created, but nothing beneath them. So for example '${project.build.directory}/${project.build.finalName}/resources/js' isn't translated into 'target/m2e-wtp/web-resources/resources/js' and therefor the output is missing.

Any hints what is causing this?

Thanks Jonny

fbricon commented 12 years ago

Can you try importing https://github.com/jbosstools/m2e-wro4j/tree/master/org.jboss.tools.m2e.wro4j.tests/projects/p1 as a maven project?

jonnybecker commented 12 years ago

I will and report. Thanks!!!

jonnybecker commented 12 years ago

I could compile everything. Since I'm not a plugin developer, I don't know what to do now. Simply replace the core- and ui-jar?

fbricon commented 12 years ago

p1 is not an eclipse plugin but a simple war project demonstrating the use of m2e-wro4j. You don't need to import the core and ui eclipse plugins to use it.

Hence :

jonnybecker commented 12 years ago

Oh, I thought I should try the new plugin. :)

Tried the p1 project, but I still don't get any files generated under target/m2e-wtp/web-resources/resources/. Not with the current plugin nor the snapshot. I'm working with Win7 64bit, Eclipse Juno (Build id: 20120614-1722) and JDK 1.7.07 (64bit).

I'll give it a try with Eclipse Indigo.

Jonny

jonnybecker commented 12 years ago

Sorry, everything is working now as expected. My bad. I added the "pluginManagement"-part to the pom in my and also your project (because I thought for some reason I saw some errors from maven), which caused the mess.

Sorry for the disturbance.

And thanks for your help. Great plugin!

Jonny

fbricon commented 12 years ago

Not a bug. Closing.