appassembler: Script not executable?

View: New views
4 Messages — Rating Filter:   Alert me  

appassembler: Script not executable?

by Lewis, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I'm using the appassembler plugin, and I like it a lot. However, there's one problem that nags me: The shell scripts aren't executable. Is this a known issue or bad configuration on my side? (I'm using the assemble goal)

Also, is there the possibility to call the script xyz.sh instead of just xyz?

Best regards,
Eric
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: appassembler: Script not executable?

by Trygve Laugstøl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lewis, Eric wrote:
> Hi
>
> I'm using the appassembler plugin, and I like it a lot. However, there's one problem that nags me: The shell scripts aren't executable. Is this a known issue or bad configuration on my side? (I'm using the assemble goal)

That's not quite as easy as the scripts can be generated on any platform
which doesn't include chmod.

I always just run bash target/appassembler/bin/my-app

> Also, is there the possibility to call the script xyz.sh instead of just xyz?

Not sure, I've never done that. Unless it's documented, I'd guess no.
File a bug after checking for it.

--
Trygve

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



AW: appassembler: Script not executable?

by Lewis, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Trygve

> > Hi
> >
> > I'm using the appassembler plugin, and I like it a lot.
> However, there's one problem that nags me: The shell scripts
> aren't executable. Is this a known issue or bad configuration
> on my side? (I'm using the assemble goal)
>
> That's not quite as easy as the scripts can be generated on
> any platform
> which doesn't include chmod.

Yes, but the plugin know for what kinds of platforms it's being used. And are there UNIX platforms without chmod?

>
> I always just run bash target/appassembler/bin/my-app
>
> > Also, is there the possibility to call the script xyz.sh
> instead of just xyz?
>
> Not sure, I've never done that. Unless it's documented, I'd guess no.
> File a bug after checking for it.

Ok, done: http://jira.codehaus.org/browse/MAPPASM-87

>
> --
> Trygve
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: AW: appassembler: Script not executable?

by Trygve Laugstøl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lewis, Eric wrote:

> Hi Trygve
>
>>> Hi
>>>
>>> I'm using the appassembler plugin, and I like it a lot.
>> However, there's one problem that nags me: The shell scripts
>> aren't executable. Is this a known issue or bad configuration
>> on my side? (I'm using the assemble goal)
>>
>> That's not quite as easy as the scripts can be generated on
>> any platform
>> which doesn't include chmod.
>
> Yes, but the plugin know for what kinds of platforms it's being used. And are there UNIX platforms without chmod?

Still, it is not really a part of the plugin as I see it. If you want to
deploy it you will have to repeat the process later on (if you're so
lucky that your format support file attributes).

--
Trygve

>> I always just run bash target/appassembler/bin/my-app
>>
>>> Also, is there the possibility to call the script xyz.sh
>> instead of just xyz?
>>
>> Not sure, I've never done that. Unless it's documented, I'd guess no.
>> File a bug after checking for it.
>
> Ok, done: http://jira.codehaus.org/browse/MAPPASM-87
>
>> --
>> Trygve
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email