简体   繁体   中英

Retroactively apply Netbeans template

I have a project with a decent number of files, and but I've only now come to licensing it. I have my license template all set up, but none of the files in my project were built after this template was created. Is there a way to retroactively apply this header template to automatically give all the files in my project license headers?

Thanks!

Not with just Netbeans no, but maven-license-plugin should do exactly what you want.

Alternatively, you could use sed . (This what I ended up doing.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM