Recently I needed to use my XPath XML editor to tweak a number of POMs. Only catch was that I was required to do this on a Windows machine.
What's the catch you ask? XML and Java work just as fine on Windows. However, my editor requires a list of POM file names on the command line, something I quite easily fixed with
`find . -name pom.xml`
This isn't easy in CMD, but even Windows has evolved recently. Enter Windows PowerShell. The PowerShell replacement is pretty simple once you get to know the PowerShell basics:
$(ls -include pom.xml -recurse -name)




2 kommentarer:
Hi Asgeir,
You could also try the Native win32 ports of unix utilites:
http://unxutils.sourceforge.net/
/Mike
Mike,
Thanks for your tip!
Legg inn en kommentar