You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/04/23 11:56:39 UTC

[jira] [Updated] (SPARK-7087) Scala Version Change script is dependent on current working directory

     [ https://issues.apache.org/jira/browse/SPARK-7087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-7087:
-----------------------------
    Description: 
script change-version-to-2.10.sh and change-version-to-2.11.sh is not working if the current working directory is not spark 
for example if I run the script inside dev folder I get the following error 
/spark/dev$ ./change-version-to-2.10.sh
sed: can't read pom.xml: No such file or directory

I was trying to configure Jenkins to build using scala 2.10 and 2.11  one after another. In my jenkins I need to use absolute path in pre build step

Find command is searching for all .pom file assuming that the current working directory  is "spark"

  was:

script change-version-to-2.10.sh and change-version-to-2.11.sh is not working if the current working directory is not spark 
for example if I run the script inside dev folder I get the following error 
/spark/dev$ ./change-version-to-2.10.sh
sed: can't read pom.xml: No such file or directory

I was trying to configure Jenkins to build using scala 2.10 and 2.11  one after another. In my jenkins I need to use absolute path in pre build step

Find command is searching for all .pom file assuming that the current working directory  is "spark"

     Issue Type: Improvement  (was: Bug)

> Scala Version Change script is dependent on current working directory 
> ----------------------------------------------------------------------
>
>                 Key: SPARK-7087
>                 URL: https://issues.apache.org/jira/browse/SPARK-7087
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Tijo Thomas
>            Priority: Minor
>
> script change-version-to-2.10.sh and change-version-to-2.11.sh is not working if the current working directory is not spark 
> for example if I run the script inside dev folder I get the following error 
> /spark/dev$ ./change-version-to-2.10.sh
> sed: can't read pom.xml: No such file or directory
> I was trying to configure Jenkins to build using scala 2.10 and 2.11  one after another. In my jenkins I need to use absolute path in pre build step
> Find command is searching for all .pom file assuming that the current working directory  is "spark"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org