Ich mache gerade das offizielle playframework Tutorial: https://www.playframework.com/documentation/2.3.x/Tutorials. Das Tutorial empfiehlt, Aktivator-Tool von Typesafe zu verwenden. Ich verstehe nicht, warum ich eine andere Aktivatordatei bekomme, wenn ich ein neues Projekt erstelle.Was sind die Dateien activator und activator-launch-1.2.10.jar in einem neuen Projekt mit playframework2.0?
Wenn ich erstellen Sie ein Projekt mit der folgenden Befehlszeile:
activator new test-app play-java
Mein Terminal angezeigt:
Fetching the latest list of templates...
OK, application "test-app" is being created using the "play-java" template.
To run "test-app" from the command line, "cd test-app" then:
/Users/XXXXX/Documents/Developpements/play-sandbox/test-app/activator run
To run the test for "test-app" from the command line, "cd test-app" then:
/Users/XXXXX/Documents/Developpements/play-sandbox/test-app/activator test
To run the Activator UI for "test-app" from the command line, "cd test-app" then:
/Users/XXXXX/Documents/Developpements/play-sandbox/test-app/activator ui
Ich kann dies beobachten in Test-App-Verzeichnis:
442 1 oct 01:01 .
238 1 oct 01:01 ..
141 1 oct 01:01 .gitignore
591 1 oct 01:01 LICENSE
148 1 oct 01:01 README
9680 1 oct 01:01 activator
1188339 1 oct 01:01 activator-launch-1.2.10.jar
136 1 oct 01:01 app
215 1 oct 01:01 build.sbt
136 1 oct 01:01 conf
136 1 oct 01:01 project
170 1 oct 01:01 public
136 1 oct 01:01 test
Ich verstehe das Ziel von activator
und activator-launch-1.2.10.jar
nicht. Wenn ich diese Dateien lösche und ich die Aktivator-Befehlszeile verwende, scheint es perfekt zu funktionieren.
Sind sie wichtig? Kann ich sie löschen? Sollte ich sie in meine .gitignore-Datei aufnehmen?
Danke!