Skip to content

Commit

Permalink
Configure the URL for the uploder for scriptrepository
Browse files Browse the repository at this point in the history
It will point to the publish_debug for testing, and to publish at production.

re #6176
  • Loading branch information
gesnerpassos committed Apr 23, 2013
1 parent 3efa335 commit 2ab769e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/Framework/Kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ set ( PYTHONALG_DIRS "${MANTID_ROOT}/Framework/PythonAPI/PythonAlgorithms;${MANT
set ( PYTHONPLUGIN_DIRS "${MANTID_ROOT}/Framework/PythonAPI/PythonAlgorithms;${MANTID_ROOT}/Framework/PythonInterface/plugins" )
set ( DATADIRS ${MANTID_ROOT}/../../Test/AutoTestData;${MANTID_ROOT}/instrument )
set ( COLORMAPS_FOLDER ${MANTID_ROOT}/Installers/colormaps/ )
SET ( MANTIDPUBLISHER "http://upload.mantidproject.org/scriptrepository/payload/publish_debug" )

# Construct script paths.
set ( MANTID_SCRIPTS ${MANTID_ROOT}/scripts )
Expand Down Expand Up @@ -456,6 +457,7 @@ set ( PLUGINS ${MANTID_ROOT}/plugins )
set ( PYTHONALG_DIRS ${PLUGINS}/PythonAlgs ) # deprecated
set ( PYTHONPLUGIN_DIRS ${PLUGINS}/python )
set ( DATADIRS "" )
SET ( MANTIDPUBLISHER "http://upload.mantidproject.org/scriptrepository/payload/publish" )

# Construct script paths by replacing the old MANTID_ROOT with the new one.
# Unfortunately string (REGEX REPLACE ... )removes the semi-colons so we have to do this in a loop.
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Properties/Mantid.properties.template
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ algorithms.categories.hidden=Workflow\\Inelastic\\UsesPropertyManager;Workflow\\

# ScriptRepository Properties:

# Url for the WebServer that support the upload of the files that the users want to share (not in usage)
UploaderWebServer =
# Url for the WebServer that support the upload of the files that the users want to share
UploaderWebServer = @MANTIDPUBLISHER@
# Local system path for the script repository.
ScriptLocalRepository =
# Url for the remote script repository.
Expand Down

0 comments on commit 2ab769e

Please sign in to comment.