<div dir="ltr">Markus,<div><br></div><div>There are some issues with WildFly Swarm on Windows at the moment.</div><div><br></div><div>I'm currently working my way through resolving them.</div><div><br></div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 9:24 AM, Bob McWhirter <span dir="ltr"><<a href="mailto:bmcwhirt@redhat.com" target="_blank">bmcwhirt@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Plugin seems to be constructing the jar with backwards slashes?<br>
<br>
org\jboss\modules\Util.class<br>
<span class="HOEnZb"><font color="#888888"><br>
-Bob<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On May 6, 2015, at 9:22 AM, Markus Eisele <<a href="mailto:myfear@web.de">myfear@web.de</a>> wrote:<br>
><br>
> Here it is:<br>
><br>
> <a href="https://www.dropbox.com/s/9n57o55gqvt0u21/swarm-sample-1.0-SNAPSHOT-swarm.jar?dl=0" target="_blank">https://www.dropbox.com/s/9n57o55gqvt0u21/swarm-sample-1.0-SNAPSHOT-swarm.jar?dl=0</a><br>
><br>
> Thanks for looking into it!<br>
><br>
> Cheers,<br>
> Markus<br>
><br>
> On 6 May 2015 at 14:51, Ken Finnigan <<a href="mailto:ken@kenfinnigan.me">ken@kenfinnigan.me</a>> wrote:<br>
>> Can you upload the generated jar somewhere?<br>
>><br>
>> Then I could take a closer look<br>
>><br>
>> Thanks<br>
>> Ken<br>
>><br>
>> On Wed, May 6, 2015 at 8:45 AM, Markus Eisele <<a href="mailto:myfear@web.de">myfear@web.de</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> The output doesn't contain a single org.jboss class being loaded. Also it<br>
>>> does not contain the jar itself.<br>
>>> So, technically speaking this can't work. But why? The command isn't<br>
>>> exactly complicated.<br>
>>><br>
>>> Any further ideas?<br>
>>> Thanks,<br>
>>> Markus<br>
>>><br>
>>>> On May 6, 2015 2:12 PM, "Jaikiran Pai" <<a href="mailto:jai.forums2013@gmail.com">jai.forums2013@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> A quick debugging option is to try:<br>
>>>>><br>
>>>>> java -verbose:class -jar swarm-sample-1.0-SNAPSHOT-swarm.jar<br>
>>>>><br>
>>>>> That will dump out some information of where the classes are being<br>
>>>>> loaded from. It might give a hint on what's going on. You might want to<br>
>>>>> redirect the output to a file since with that -verbose:class option, the<br>
>>>>> output can potentially be huge.<br>
>>>>><br>
>>>>> -Jaikiran<br>
>>>>> On Wednesday 06 May 2015 04:22 PM, Markus Eisele wrote:<br>
>>>>>><br>
>>>>>> It is around 30 Meg and does contain the class. Indeed.<br>
>>>>>> I have a pretty straight forward JDK setup and tried to run with both<br>
>>>>>> 1.7.0_65 and 1.8.0_20.<br>
>>>>>> Only difference is that I run on Windows?<br>
>>>>>> Is the maven version an issue? I'm running 3.3.3?<br>
>>>>>><br>
>>>>>><br>
>>>>>> Anything I can do to provide more debug information?<br>
>>>>>><br>
>>>>>> Cheers,<br>
>>>>>><br>
>>>>>> Markus<br>
>>>>>><br>
>>>>>><br>
>>>>>> On May 6, 2015 12:40 PM, "Ken Finnigan" <<a href="mailto:ken@kenfinnigan.me">ken@kenfinnigan.me</a>> wrote:<br>
>>>>>>><br>
>>>>>>> Hi Markus,<br>
>>>>>>><br>
>>>>>>> That's weird, as I was able to clone your repo, build it, and run it<br>
>>>>>>> without any problems.<br>
>>>>>>><br>
>>>>>>> Is your fat jar around 30.1Mb in size? Does<br>
>>>>>>> org.wildfly.swarm.bootstrap.Main exist in that jar?<br>
>>>>>>><br>
>>>>>>> Thanks<br>
>>>>>>> Ken<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> On Wed, May 6, 2015 at 6:17 AM, Markus Eisele <<a href="mailto:myfear@web.de">myfear@web.de</a>> wrote:<br>
>>>>>>>><br>
>>>>>>>> Hi,<br>
>>>>>>>><br>
>>>>>>>> I've been playing around with swarm today and here is the source:<br>
>>>>>>>> <a href="https://github.com/myfear/WildFlySwarmDemo" target="_blank">https://github.com/myfear/WildFlySwarmDemo</a><br>
>>>>>>>><br>
>>>>>>>> Very simple project. JAX-RS and nothing else.<br>
>>>>>>>><br>
>>>>>>>> mvn package produces the jar. Execution results in:<br>
>>>>>>>><br>
>>>>>>>> java -jar swarm-sample-1.0-SNAPSHOT-swarm.jar<br>
>>>>>>>> Error: Could not find or load main class<br>
>>>>>>>> org.wildfly.swarm.bootstrap.Main<br>
>>>>>>>><br>
>>>>>>>> Any help appreciated!<br>
>>>>>>>><br>
>>>>>>>> Thanks,<br>
>>>>>>>> M<br>
>>>>>>>><br>
>>>>>>>> ____________<br>
>>>>>>>> @myfear<br>
>>>>>>>> <a href="http://blog.eisele.net" target="_blank">http://blog.eisele.net</a><br>
>>>>>>>> _______________________________________________<br>
>>>>>>>> wildfly-dev mailing list<br>
>>>>>>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>>>>>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> wildfly-dev mailing list<br>
>>>>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>>>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> wildfly-dev mailing list<br>
>>>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> wildfly-dev mailing list<br>
>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>><br>
>><br>
> _______________________________________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
<br>
</div></div></blockquote></div><br></div>