Wajih Haider
Wajih Haider

Reputation: 197

Want to edit just one word in car file how to edit it in wso2

I have made a car file and just want to change one word in one of the multiple sequences. Any way I can edit it save it and redeploy it without making an entire project for that car file.

Any leads would mean a lot.

Thanks

Upvotes: 0

Views: 502

Answers (3)

razvanmd
razvanmd

Reputation: 1

I do frequently such minor changes in car files. For that, I use mc (Midnight Commander) available on both Linux and MacOS. You can just browse inside the car file, edit the needed file directly and then save it. I think it's the easiest way.

Upvotes: 0

ycr
ycr

Reputation: 14574

Car files are .zip archives. If you are on linux, the easiest way to do it is to use a tool like vim. First, change the extension of the car file to .zip and then use vim to update the files interactively, then change the extension back. Example commands below.

mv carFileName.car carFileName.zip
vim carFileName.zip
mv carFileName.zip carFileName.car

Upvotes: 0

Pubci
Pubci

Reputation: 4001

You can do as follows.

  1. Rename the .car file to a zip.
  2. Unzip the file
  3. Change relevant files.
  4. Zip the artifacts.
  5. Rename to car extension.

Upvotes: 0

Related Questions