Setting up Rhino-ETL in Windows 7

78 views
Skip to first unread message

Richard

unread,
Dec 26, 2011, 11:41:54 PM12/26/11
to Rhino Tools Dev
Hi Folks,

I thought that setting up Rhino-ETL in Win7 would consist of these
simple steps:
1. Navigate to https://github.com/ayende/rhino-etl
2. Download the latest .zip file, in my case it is ayende-rhino-
etl-88104d7.zip.
3. Create a "Program Files\Rhino-ETL" folder and extract the contents
of the zip to the folder.
4. Open Windows Power Shell, running as Administrator.
5. CD to the folder used in step 3.
6. Issue the following Windows Power Shell commands:

Set-ExecutionPolicy unrestricted

.\psake.ps1 default.ps1

I've insured that Git is available on the path from the power shell.
"git --version" returns: "git version 1.7.8.msysgit.0".

Why do I see the following?

PS C:\Program Files (x86)\RhinoETL> .\psake.ps1 default.ps1

Security Warning
Run only scripts that you trust. While scripts from the Internet can
be useful, this script can potentially harm your computer. Do you want
to run
C:\Program Files (x86)\RhinoETL\psake.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"):
R

Security Warning
Run only scripts that you trust. While scripts from the Internet can
be useful, this script can potentially harm your computer. Do you want
to run
C:\Program Files (x86)\RhinoETL\default.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"):
R
Executing task, Clean...
Executing task, Init...

Security Warning
Run only scripts that you trust. While scripts from the Internet can
be useful, this script can potentially harm your computer. Do you want
to run
C:\Program Files (x86)\RhinoETL\psake_ext.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"):
R
fatal: Not a git repository (or any of the parent directories): .git
You cannot call a method on a null-valued expression.

I would like the simplest way to get started using Rhino.
If anyone could help me, I'd be much obliged.

Thanks,

Richard Rogers
http://www.RichardRogers.ca/

Nathan Palmer

unread,
Dec 27, 2011, 9:13:12 AM12/27/11
to rhino-t...@googlegroups.com
The build depends on you actually cloning it from the git repo


Then run the build from there.

Otherwise you need to modify the build file and comment out the call to git in psake_ext.ps1 which uses the repo has as part of AssemblyInfo.

If you are just trying to use the executables you can download the files from here


or get it using nuget

Install-Package Rhino-Etl

Thanks,

Nathan Palmer




--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.


Richard

unread,
Dec 27, 2011, 3:30:11 PM12/27/11
to rhino-t...@googlegroups.com

Hi Nathan,

 

Thanks very much for helping me.

I wonder if there’s an online resource (article/blog/etc) that talks about using RhinoETL to create a Data import process the first time.

I need to scan a folder for incoming (CSV) files, copy the data to a table, call a stored proc, and move the file to another folder.

Thanks very much,

 

Richard

Jason Meckley

unread,
Dec 30, 2011, 7:33:37 AM12/30/11
to rhino-t...@googlegroups.com
http://hibernatingrhinos.com/open-source/rhino-etl will be your best source 1st you would need a file system watcher to monitor the directory. when the FSW is triggered it would execute the ETL process.
Reply all
Reply to author
Forward
0 new messages