Guest User

Untitled

a guest
Jan 8th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #These are properties to be updated
  2.  
  3. property_One=someValue
  4. property.Two=<value_to_substitute>
  5.  
  6. #These are properties values with pattern to replace user inputs
  7.  
  8. property_Three=http://localhost:<port_number>/myearname/servicename
  9.  
  10. sed -i "s/(webservicetype=).*$/1$webServiceType/; s/(username=).*$/1$username/; s/(password=).*$/1$encryptedPassword/; s/(Username=).*$/1$username/; s/(Password=).*$/1$encryptedPassword/;" $propertyFileLocator/project.properties
Add Comment
Please, Sign In to add comment