You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by "yo (JIRA)" <ji...@codehaus.org> on 2005/10/23 10:31:11 UTC

[jira] Created: (CONTINUUM-365) add shell command execution

add shell command execution
---------------------------

         Key: CONTINUUM-365
         URL: http://jira.codehaus.org/browse/CONTINUUM-365
     Project: Continuum
        Type: New Feature
 Reporter: yo


add support for shell command execution and not only for shell script execution.
This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (CONTINUUM-365) add shell command execution

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]

Emmanuel Venisse updated CONTINUUM-365:
---------------------------------------

    Fix Version:     (was: 1.0)
                 1.1

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.1

>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (CONTINUUM-365) add shell command execution

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-365?page=comments#action_49657 ] 

Emmanuel Venisse commented on CONTINUUM-365:
--------------------------------------------

Can you attach logs before and after this exception?

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.0

>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (CONTINUUM-365) add shell command execution

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]

Brett Porter updated CONTINUUM-365:
-----------------------------------

    Fix Version: 1.0-beta-2

I think this works already, but it should be confirmed and fixed if not for 1.0

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.0-beta-2

>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (CONTINUUM-365) add shell command execution

Posted by "yo (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]

yo updated CONTINUUM-365:
-------------------------

    Attachment: continuum Kopie.log

this is the log file. i had some problems with the svn config maybe thats interesting for you too. ill also atach a screenshot of my config.

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.1
>  Attachments: continuum Kopie.log
>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (CONTINUUM-365) add shell command execution

Posted by "yo (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]

yo updated CONTINUUM-365:
-------------------------

    Attachment: project_def.png
                build_def.png

the project-confs as screenshot

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.1
>  Attachments: build_def.png, continuum Kopie.log, project_def.png
>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (CONTINUUM-365) add shell command execution

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]
     
Emmanuel Venisse closed CONTINUUM-365:
--------------------------------------

    Resolution: Fixed

already works

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.0-beta-2

>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (CONTINUUM-365) add shell command execution

Posted by "yo (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-365?page=comments#action_49747 ] 

yo commented on CONTINUUM-365:
------------------------------

im running continuum on mac os x.
What do you mean by how i run it?
via terminal. i execute plexus.sh and not the osx.sh file.
is that what you mean?
maybe its not possible for a java to use the path file. maybe you should consider to allow absolute paths for the pom file. This would fix the problem too.

cheers
yo

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>     Assignee: Emmanuel Venisse
>      Fix For: 1.1
>  Attachments: build_def.png, continuum Kopie.log, project_def.png
>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (CONTINUUM-365) add shell command execution

Posted by "yo (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]
     
yo reopened CONTINUUM-365:
--------------------------


At least on mac os x this feature does not work as advertised. When i enter a command (e.g. make) in the POM File field (i think this is wrongly labled as i've choosen shell project whichs has no pom fileat all) is gives me an error saying:


org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while executing shell command. The most common error is that 'rake' is not in your path.
        at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:191)
        at org.apache.maven.continuum.execution.shell.ShellBuildExecutor.build(ShellBuildExecutor.java:70)
        at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:130)
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:170)
        at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
        at java.lang.Thread.run(Thread.java:552)


but rake is in my path and trying to enter a absolute path to rake gives an error too.

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>      Fix For: 1.0

>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (CONTINUUM-365) add shell command execution

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-365?page=comments#action_49738 ] 

Emmanuel Venisse commented on CONTINUUM-365:
--------------------------------------------

what is your os?
How do you run continuum?

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>     Assignee: Emmanuel Venisse
>      Fix For: 1.1
>  Attachments: build_def.png, continuum Kopie.log, project_def.png
>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (CONTINUUM-365) add shell command execution

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-365?page=comments#action_49748 ] 

Emmanuel Venisse commented on CONTINUUM-365:
--------------------------------------------

yes, it what I mean.

absolute path is now allowed.
So, now, we search in working directory, in path. If executable isn't found, we use it without modification, so you can use rake or path_to/rake



> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>     Assignee: Emmanuel Venisse
>      Fix For: 1.1
>  Attachments: build_def.png, continuum Kopie.log, project_def.png
>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (CONTINUUM-365) add shell command execution

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-365?page=all ]
     
Emmanuel Venisse closed CONTINUUM-365:
--------------------------------------

     Assign To: Emmanuel Venisse
    Resolution: Fixed

Fixed. I don't know why your rake isn't find in your path, but I create a little patch that fixed your pb.

For other error in your log (scm pb and FileNotFoundException), it's already fixed.

> add shell command execution
> ---------------------------
>
>          Key: CONTINUUM-365
>          URL: http://jira.codehaus.org/browse/CONTINUUM-365
>      Project: Continuum
>         Type: New Feature
>     Reporter: yo
>     Assignee: Emmanuel Venisse
>      Fix For: 1.1
>  Attachments: build_def.png, continuum Kopie.log, project_def.png
>
>
> add support for shell command execution and not only for shell script execution.
> This way, there is no need for the dedicated ant execution and shell script execution module. This can be accomplished by running a shell command and you automatically added support for make, rake, ... . 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira