I am newly using command line perforce . will you plaese tell me how to create workspace with example?
Here is our documentation on how to create a workspace from the command line using the 'p4 client ' command:
http://www.perforce.com/perforce/doc.current/manuals/p4guide/chapter.configuration.html#DB5-17566
REFERENCES
http://answers.perforce.com/articles/KB_Article/How-to-Script-Client-Workspace-Cloning
http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html
http://www.perforce.com/resources/tutorials
Related
We need to migrate our OWB repository to a new one running on 11.2. This will eventually be converted to ODI but as a 1st step we need to do this migration.
I've been following the notes in
https://docs.oracle.com/cd/E11882_01/owb.112/e17130/migrate.htm#WBINS07100
But we won't have access to a GUI for the repository assistant and need to run this from the command line.
Anybody have suggestions for how to do this?
You can run the OWB repository assistant in command line from the following location.
Go to the following location and run the command
In AIX or LINUX:
$OWB_HOME/owb/bin/unix/
./reposinst.sh
In windows:
$OWB_HOME/owb/bin/unix/reposinst.cmd
I just downloaded the latest version 3.7 of AspNetBoilerplate with Angular 5 and I was trying to use my new service that I created. It was not showing up in the service proxy. How do I update the auto generated code from swagger?
Go to the angular\nswag> folder. There is a refresh.bat file in there. Execute that file while the project is running in VS 2017 and swagger is showing. It will then update you services so you can call them in your code.
Step1: Open PowerShell
Step2: Go to directory where is your project located and locate \angualar\nswag
which should lool like : PS C:\Users\myname\myangularporject\angular\nswag>
(Check by typing ls or dir and you should see two files named refresh.bat and service.config.nswag)
Step3: Type .\refresh.bat
You are done !
Remember you only need this task if you add new service in your server but you do not neeed to use when modified existing service. Check it out here.
You can do the same thing using "Node.js Command Prompt" like in the Power Shell.
Step 1 : Go to the project location, using "cd" command
Eg :- C:\Users\Name\MyAngularPorject\angular> cd nswag
Step 2 : Run below command
Eg :- C:\Users\Name\MyAngularPorject\angular\nswag> start refresh.bat
Finish.. Simple..
My jenkins is installed in C:\Program Files (x86)\Jenkins
bat file is located in C:\Users\Admin\workspace\demoWork\run.bat
When i run this bat file from cmd everything works fine. But when i try from jenkins executing batch command as mentioned in Image, Jenkins displays error as
Build step 'Execute Windows batch command' marked build as failure
Also inside jenkins folder automatically workspace folder gets created with Job title name. Can you guys please explain me in detail
Tatkal, you can't execute a command like in your image,
why don't you simply try
C:\users\admin\workspace\demowork\run.bat
or
call "C:\users\admin\workspace\demowork\run.bat"
"Also inside jenkins folder automatically workspace folder gets created with Job title name. Can you guys please explain me in detail" -
Jenkins creates folder with job title name automatically, saves jobs data and other build info... this is how it works. By default in jenkins job you can access your workspace using $WORKSPACE variable
You have put very little detail into this so I'm going by pure guess..
The Execute Windows batch command is to literally execute code, not execute a file.. to execute the file you could use this command :
start cmd.exe /c C:\myprj\mybat.bat
or you could take the contents of the .bat file and rewrite in in that command line..
The way Jenkins works is it creates its own workspace for each job, essentially to sandbox the environment, its a testing framework so it should be used to stage changes to code, which will then be pushed to your live(working) environment. People use it to automate some tasks, but this isnt the primary use of Jenkins.. if the above doesn't help you let me know more details of the error and I can try help you with it.
node {
bat 'D:\\gatling-charts-highcharts-bundle-3.0.2\\bin\\gatling.bat'
}
I am using teamcity to create package of my atlas project.
Giving two command to teamCity in custom script field as bellow:
atlas-clean --file "D:\Data\BambooTaskPlugin\bamboopluginbuild"
atlas-package --file "D:\Data\BambooTaskPlugin\bamboopluginbuild"
These commands are executed successfully on Command prompt but not in teamcity.
TeamCity gives error:
'atlas-clean' is not recognized as an internal or external command
If anyone have idea about this, please reply.
Thanks.
I am newbie to launch4j.I want to create exe file using launch4j.
I have followed this link for lauch4j tutorial.
Now,i want to create exe file in command line using launch4j?
I have tried following command but its not working.
>launch4j.exe sample.jar
To run it in console mode you need to use launch4jc.exe (not launch4j.exe) and feed config.xml to it as a parameter.
Docs:
To wrap a jar in console mode use launch4jc.exe and specify the configuration file.