Fixed CSS file copying always.
This commit is contained in:
parent
3f74cab1bb
commit
ebc17b6815
1 changed files with 6 additions and 3 deletions
|
@ -204,9 +204,12 @@ public class AgirStatool
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Copy CSS file.
|
// Copy CSS file.
|
||||||
FileUtils.copyURLToFile(AgirStatool.class.getResource("/org/april/agirstatool/core/pages/index.html"), new File(this.targetDirectory, "index.html"));
|
if (!new File(this.targetDirectory, "index.html").exists())
|
||||||
FileUtils.copyURLToFile(AgirStatool.class.getResource("/org/april/agirstatool/core/pages/agirstatool.css"), new File(this.targetDirectory, "agirstatool.css"));
|
{
|
||||||
FileUtils.copyURLToFile(AgirStatool.class.getResource("/org/april/agirstatool/core/pages/Chart.bundle.min.js"), new File(this.targetDirectory, "Chart.bundle.min.js"));
|
FileUtils.copyURLToFile(AgirStatool.class.getResource("/org/april/agirstatool/core/pages/index.html"), new File(this.targetDirectory, "index.html"));
|
||||||
|
FileUtils.copyURLToFile(AgirStatool.class.getResource("/org/april/agirstatool/core/pages/agirstatool.css"), new File(this.targetDirectory, "agirstatool.css"));
|
||||||
|
FileUtils.copyURLToFile(AgirStatool.class.getResource("/org/april/agirstatool/core/pages/Chart.bundle.min.js"), new File(this.targetDirectory, "Chart.bundle.min.js"));
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
Project root = listProjectsAsTree();
|
Project root = listProjectsAsTree();
|
||||||
|
|
Loading…
Reference in a new issue