Fornax-Platform
Forum

[Sculptor] changing outlet directories

by polly.c.chang :: Rate this Message:

Reply to Author | View in Thread

Hi,

I am trying to change the outlet directories in Sculptor using the oAW plugin.  The documentation is here:
http://fornax.itemis.de/confluence/display/fornax/Configuration+(TOM)#Configuration(TOM)-Outlets

I am following the example and setting the directories like this:
                        <plugin>
                                <groupId>org.fornax.toolsupport</groupId>
                                <artifactId>fornax-oaw-m2-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>generate-main</id>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>run-workflow</goal>
                                                </goals>
                                                <configuration>
                                                        <outletResDir>foo</outletResDir>
                                                        <outletResOnceDir>bar</outletResOnceDir>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

However, the values are being ignored.  It looks like maybe it's because the first thing in the sculptorworkflow.oaw file overwrites the properties:

<workflow abstract="true">
    ...
    <property name="outlet.res.once.dir" value="src/main/resources"/>
    <property name="outlet.res.dir" value="src/generated/resources"/>
    ...
</workflow>

Is there another way to set the directories?  Or is editing the sculptorworkflow.oaw file the only way to accomplish this?

Thanks!
--Polly

 « Return to Thread: [Sculptor] changing outlet directories