GNU/Linux ◆ xterm ◆ bash 523 views

Github repository

using Shell, Perl and Sed* <br>

wget https://raw.githubusercontent.com/micalevisk/TAP_feelings/master/construtor.sh wget https://raw.githubusercontent.com/micalevisk/TAP_feelings/master/constructorGenerator.pl wget https://raw.githubusercontent.com/micalevisk/TAP_feelings/master/removerComentarios.sed mkdir programaConstrutor; mv constructorGenerator.pl removerComentarios.sed construtor.sh programaConstrutor/ ; cd programaConstrutor/ ; chmod +x *.sh

O código deve possuir uma linha comentada com a tag “@attN”, onde “N” é quantidade de atributos (declarados um por linha, abaixo desta)

execute:

./construtor.sh -d -i <File.java>