JSON command for changing dir path


#1

Hi All,
Currently I am having a JSON file for building a java component with build.xml present in mydir (mydir/build.xml) which is a checkout path from SCM.

{
“method”:“ant”,
“ant”:{
“buildFile”:“mydir/build.xml”,
“commands”:"clean buildall "
}
}

But what I want is to change dir to “mydir” and execute build.xml with ant tool as given below in my JSON file.

{
“method”:“ant”,
“ant”:{
cd mydir
"buildFile":“mydir/build.xml”,
“commands”:"clean buildall "
}
}

Can you please suggest how this can be done in JSON file.


#2

This board is for discussing http://jsonapi.org/; it doesn’t look like this has anything to do with that, sorry! You’re more likely to find help on StackOverflow.


#3

Hello,
Here I would like to share a SSIS REST API to SQL ,In this blog post you will learn how to load data from JSON file or REST API to SQL Server (or other RDBMS systems e.g. Oracle, MySQL) in just a few clicks. We will use SSIS JSON / REST API Source Connector to pull data from REST API and load into SQL Server. Along with REST API, you can use JSON Source to read files and direct JSON String.
Feel Free to See…


#4