That's weird, the mojo-sandbox-parent artifact (which is a dependency
of the NSIS plugin) disappeared from codehaus' repository. I'm
investigating that. Hope they did not screw the NSIS artifact.
You probably don't want to build Tomighty's installer, so you might
remove the following xml block from the pom.xml file until I fix this
problem:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nsis-maven-plugin</artifactId>
<version>1.0-20091114.095635-2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>generate-project</goal> <!-- create target/project.nsh -->
<goal>compile</goal> <!-- compile setup.nsi into exe -->
</goals>
</execution>
</executions>
</plugin>
Célio
2011/3/8 Dominik Obermaier <dominik....@googlemail.com>:
> --
> You received this message because you are subscribed to the Google Groups "Tomighty" group.
> To post to this group, send email to tomi...@googlegroups.com.
> To unsubscribe from this group, send email to tomighty+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tomighty?hl=en.
>
>
thanks for the workaround. Now I am able to build. I hope the NSIS
Installer will be fixed soon, because I'm looking forward to fix Issue #39.
Dominik
Am 09.03.2011 03:47, schrieb C�lio:
> Hi Dominik,
>
> That's weird, the mojo-sandbox-parent artifact (which is a dependency
> of the NSIS plugin) disappeared from codehaus' repository. I'm
> investigating that. Hope they did not screw the NSIS artifact.
>
> You probably don't want to build Tomighty's installer, so you might
> remove the following xml block from the pom.xml file until I fix this
> problem:
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>nsis-maven-plugin</artifactId>
> <version>1.0-20091114.095635-2</version>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
> <goal>generate-project</goal> <!-- create target/project.nsh -->
> <goal>compile</goal> <!-- compile setup.nsi into exe -->
> </goals>
> </execution>
> </executions>
> </plugin>
>
> C�lio
Issue #39 does not depend on the NSIS installer. It has to do with
Launch4j, which is the tool that wraps jars into Windows executable
files.
After reading the docs of Launch4j, I found an option that forbids
running multiple instances of the application. It's called
<singleInstance>:
http://launch4j.sourceforge.net/docs.html#Configuration_file
There is an issue, however, with launch4j-maven-plugin, which Tomighty
uses to wrap the jar into an executable file. It seems that this
option has no effect when wrapping Tomighty with this plugin.
Building the wrapper directly with the standalone Launch4j application
works fine. I have emailed a message to the plugin's author notifying
him about this problem, let's hope he has good news for us. In the
meantime I will study the plugin's source code and try to fix this
bug.
I'm also investigating the NSIS plugin problem. That
mojo-sandbox-parent artifact was apparently moved to Maven's main
repository, it's strange that Maven can't find it there. Maybe I'm
missing some detail here.
Célio
2011/3/9 Dominik Obermaier <dominik....@googlemail.com>:
> Hi Celio,
>
> thanks for the workaround. Now I am able to build. I hope the NSIS Installer
> will be fixed soon, because I'm looking forward to fix Issue #39.
>
> Dominik
>
> Am 09.03.2011 03:47, schrieb Célio:
>>
>> Hi Dominik,
>>
>> That's weird, the mojo-sandbox-parent artifact (which is a dependency
>> of the NSIS plugin) disappeared from codehaus' repository. I'm
>> investigating that. Hope they did not screw the NSIS artifact.
>>
>> You probably don't want to build Tomighty's installer, so you might
>> remove the following xml block from the pom.xml file until I fix this
>> problem:
>>
>> <plugin>
>> <groupId>org.codehaus.mojo</groupId>
>> <artifactId>nsis-maven-plugin</artifactId>
>> <version>1.0-20091114.095635-2</version>
>> <executions>
>> <execution>
>> <phase>package</phase>
>> <goals>
>> <goal>generate-project</goal> <!-- create
>> target/project.nsh -->
>> <goal>compile</goal> <!-- compile
>> setup.nsi into exe -->
>> </goals>
>> </execution>
>> </executions>
>> </plugin>
>>
>> Célio
regarding Launch4j, that was exactly what I tried to do. If you have any
news on this topic or if you do need some help with fixing the
launch4j-maven-plugin, I would be happy to see if I can help.
Dominik
Am 10.03.2011 00:16, schrieb C�lio:
> Hi Dominik,
>
> Issue #39 does not depend on the NSIS installer. It has to do with
> Launch4j, which is the tool that wraps jars into Windows executable
> files.
>
> After reading the docs of Launch4j, I found an option that forbids
> running multiple instances of the application. It's called
> <singleInstance>:
>
> http://launch4j.sourceforge.net/docs.html#Configuration_file
>
> There is an issue, however, with launch4j-maven-plugin, which Tomighty
> uses to wrap the jar into an executable file. It seems that this
> option has no effect when wrapping Tomighty with this plugin.
> Building the wrapper directly with the standalone Launch4j application
> works fine. I have emailed a message to the plugin's author notifying
> him about this problem, let's hope he has good news for us. In the
> meantime I will study the plugin's source code and try to fix this
> bug.
>
> I'm also investigating the NSIS plugin problem. That
> mojo-sandbox-parent artifact was apparently moved to Maven's main
> repository, it's strange that Maven can't find it there. Maybe I'm
> missing some detail here.
>
> C�lio
>
>
> 2011/3/9 Dominik Obermaier<dominik....@googlemail.com>:
>> Hi Celio,
>>
>> thanks for the workaround. Now I am able to build. I hope the NSIS Installer
>> will be fixed soon, because I'm looking forward to fix Issue #39.
>>
>> Dominik
>>
>> Am 09.03.2011 03:47, schrieb C�lio:
>>> Hi Dominik,
>>>
>>> That's weird, the mojo-sandbox-parent artifact (which is a dependency
>>> of the NSIS plugin) disappeared from codehaus' repository. I'm
>>> investigating that. Hope they did not screw the NSIS artifact.
>>>
>>> You probably don't want to build Tomighty's installer, so you might
>>> remove the following xml block from the pom.xml file until I fix this
>>> problem:
>>>
>>> <plugin>
>>> <groupId>org.codehaus.mojo</groupId>
>>> <artifactId>nsis-maven-plugin</artifactId>
>>> <version>1.0-20091114.095635-2</version>
>>> <executions>
>>> <execution>
>>> <phase>package</phase>
>>> <goals>
>>> <goal>generate-project</goal> <!-- create
>>> target/project.nsh -->
>>> <goal>compile</goal> <!-- compile
>>> setup.nsi into exe -->
>>> </goals>
>>> </execution>
>>> </executions>
>>> </plugin>
>>>
>>> C�lio
Célio
2011/3/9 Obermaier Dominik <dominik....@googlemail.com>:
> Hi Celio,
>
> regarding Launch4j, that was exactly what I tried to do. If you have any
> news on this topic or if you do need some help with fixing the
> launch4j-maven-plugin, I would be happy to see if I can help.
>
> Dominik
>
> Am 10.03.2011 00:16, schrieb Célio:
>>
>> Hi Dominik,
>>
>> Issue #39 does not depend on the NSIS installer. It has to do with
>> Launch4j, which is the tool that wraps jars into Windows executable
>> files.
>>
>> After reading the docs of Launch4j, I found an option that forbids
>> running multiple instances of the application. It's called
>> <singleInstance>:
>>
>> http://launch4j.sourceforge.net/docs.html#Configuration_file
>>
>> There is an issue, however, with launch4j-maven-plugin, which Tomighty
>> uses to wrap the jar into an executable file. It seems that this
>> option has no effect when wrapping Tomighty with this plugin.
>> Building the wrapper directly with the standalone Launch4j application
>> works fine. I have emailed a message to the plugin's author notifying
>> him about this problem, let's hope he has good news for us. In the
>> meantime I will study the plugin's source code and try to fix this
>> bug.
>>
>> I'm also investigating the NSIS plugin problem. That
>> mojo-sandbox-parent artifact was apparently moved to Maven's main
>> repository, it's strange that Maven can't find it there. Maybe I'm
>> missing some detail here.
>>
>> Célio
>>
>>
>> 2011/3/9 Dominik Obermaier<dominik....@googlemail.com>:
>>>
>>> Hi Celio,
>>>
>>> thanks for the workaround. Now I am able to build. I hope the NSIS
>>> Installer
>>> will be fixed soon, because I'm looking forward to fix Issue #39.
>>>
>>> Dominik
>>>
>>>> Célio