I'm not sure what you are referring to by "load into memory".

The plugin JAR is loaded once, the class that contains the generate goal
should be instantiated twice (once for each run, with the respective
configuration).

Is this not what you are seeing?

- Brett

Donszelmann, Mark wrote:

>Hi
>
>my plugin is configured to execute twice with different configuration:
>
>            <plugin>
>                <groupId>org.freehep</groupId>
>                <artifactId>freehep-aid-plugin</artifactId>
>                <version>0.4</version>
>                <executions>
>                    <execution>
>                        <id>java</id>
>                        <goals>
>                            <goal>generate</goal>
>                        </goals>
>                    </execution>
>                    <execution>
>                        <id>cpp</id>
>                        <goals>
>                            <goal>generate</goal>
>                        </goals>
>                        <configuration>
>                            <generator>CPPHeaderGenerator</generator>
>                            
> <targetDirectory>${project.build.directory}/generated-sources/aid/org/freehep/aid/include</targetDirectory>
>                        </configuration>
>                    </execution>
>                </executions>
>            </plugin>
>
>however, it seems to load only once in memory and start up. 
>Am I correct here? and if so, is there a way to reload it for each execution?
>
>
>Regards
>Mark Donszelmann
>Stanford Linear Accelerator Center
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to