> On Wednesday 09 of September 2009 07:12:28 José Arcángel Salazar Delgado
>
> wrote:
> > I can recommend this plugin to maven for the autogeneration of the juics:
> > http://sourceforge.net/projects/juic-mvn-plugin/
>
> Uhh, very good news for me. I am testing it now, but I have a following
> problem:
>
> Simple maven project:
>
> src
>   java
>     foo
>         test
>             Main.java
>             MainWindow.jui
>
> Plugin creates
> target/dependency/generatedJUICFiles/foo/test/Ui_MainWindow.java,but I
> can't use this file in sources (cannot find symbol).
>
> What I forgot to set up? Maybe some classpaths?
>
> I am still not maven guru yet :)
>
> Thanks

I use this configuration with maven and eclipse and works well:

<plugins>
                        <plugin>
                                <groupId>pl.swmud.ns.qtjambi</groupId>
                                <artifactId>juic-mvn-plugin</artifactId>
                                <version>1.0</version>
                                <executions>
                                        <execution>
                                                <id>juic</id>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>compile</goal>
                                                </goals>
                                                <inherited>false</inherited>
                                                <configuration>
                                                        
<juicPath>/opt/nettrace/qtjambi/bin/juic</juicPath>
                                                        
<sourceDirectory>${basedir}/Generated JUIC files</sourceDirectory>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
<plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>build-helper-maven-plugin
                                </artifactId>
                                <version>1.2</version>
                                <executions>
                                        <execution>
                                                <id>add-source</id>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>add-source</goal>
                                                </goals>
                                                <configuration>
                                                        <sources>
                                                                
<source>Generated JUIC files</source>
                                                                
<source>src</source>
                                                        </sources>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

I use the default dir structure of qt jambi projects in eclipse:
- project
  - src
  - Generated JUIC files
  - pom.xml
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to