Check-in [29fe5d2274]
Not logged in
Overview
Comment:Make the Package Repository Client directory name customizable when using the deployment tool.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 29fe5d22748fac28f60e8d84066a3570f8db0fc7
User & Date: mistachkin on 2016-09-14 06:37:17
Other Links: manifest | tags
Context
2016-09-14
06:40
More changes to the target directory handling in the deployment tool. check-in: d39ec13bf6 user: mistachkin tags: trunk
06:37
Make the Package Repository Client directory name customizable when using the deployment tool. check-in: 29fe5d2274 user: mistachkin tags: trunk
2016-09-10
23:16
The package installer tool must manually enable 'package unknown' support when running in Eagle. Also, make sure the Eagle.Data package files are PGP signed. check-in: 43d107aab9 user: mistachkin tags: trunk
Changes

Modified tools/deploy.bat from [7cf11315b7] to [6e1c080255].

59
60
61
62
63
64
65






66
67
68
69
70
71
72

SET DUMMY2=%3

IF DEFINED DUMMY2 (
  GOTO usage
)







REM ****************************************************************************
REM ************************* Check Source Directories *************************
REM ****************************************************************************

IF NOT EXIST "%SOURCE%" (
  ECHO Cannot copy from "%SOURCE%", it does not exist.
  GOTO errors







>
>
>
>
>
>







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

SET DUMMY2=%3

IF DEFINED DUMMY2 (
  GOTO usage
)

IF NOT DEFINED DIRNAME (
  SET DIRNAME=pkg_r_an_d
)

%_VECHO% DirName = '%DIRNAME%'

REM ****************************************************************************
REM ************************* Check Source Directories *************************
REM ****************************************************************************

IF NOT EXIST "%SOURCE%" (
  ECHO Cannot copy from "%SOURCE%", it does not exist.
  GOTO errors
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
REM ****************************************************************************

CALL :fn_ResetErrorLevel

REM ****************************************************************************

FOR %%F IN (%PKGFILES%) DO (
  %__ECHO% XCOPY "%SOURCE%\client\1.0\%%F" "%TARGET%\pkg_r_an_d\" %FFLAGS% %DFLAGS%

  IF ERRORLEVEL 1 (
    ECHO Failed to copy "%SOURCE%\client\1.0\%%F" to "%TARGET%\pkg_r_an_d\".
    GOTO errors
  )
)

REM ****************************************************************************

FOR %%F IN (%EAGLEFILES%) DO (
  %__ECHO% XCOPY "%SOURCE%\externals\Eagle\lib\Eagle1.0\%%F" "%TARGET%\pkg_r_an_d\Eagle1.0\" %FFLAGS% %DFLAGS%

  IF ERRORLEVEL 1 (
    ECHO Failed to copy "%SOURCE%\externals\Eagle\lib\Eagle1.0\%%F" to "%TARGET%\pkg_r_an_d\Eagle1.0\".
    GOTO errors
  )
)

REM ****************************************************************************

GOTO no_errors







|


|







|


|







110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
REM ****************************************************************************

CALL :fn_ResetErrorLevel

REM ****************************************************************************

FOR %%F IN (%PKGFILES%) DO (
  %__ECHO% XCOPY "%SOURCE%\client\1.0\%%F" "%TARGET%\%DIRNAME%\" %FFLAGS% %DFLAGS%

  IF ERRORLEVEL 1 (
    ECHO Failed to copy "%SOURCE%\client\1.0\%%F" to "%TARGET%\%DIRNAME%\".
    GOTO errors
  )
)

REM ****************************************************************************

FOR %%F IN (%EAGLEFILES%) DO (
  %__ECHO% XCOPY "%SOURCE%\externals\Eagle\lib\Eagle1.0\%%F" "%TARGET%\%DIRNAME%\Eagle1.0\" %FFLAGS% %DFLAGS%

  IF ERRORLEVEL 1 (
    ECHO Failed to copy "%SOURCE%\externals\Eagle\lib\Eagle1.0\%%F" to "%TARGET%\%DIRNAME%\Eagle1.0\".
    GOTO errors
  )
)

REM ****************************************************************************

GOTO no_errors