| | |
| | | mode = 'xml'; |
| | | } else if(fname.endsWith('properties')) { |
| | | mode = 'xml'; |
| | | } else if(fname.endsWith('adoc')) { |
| | | mode = 'text/x-markdown'; |
| | | } |
| | | fm_text_edit(resp, mode); |
| | | } else { |
| | |
| | | |
| | | /* -------- Compile / Build ------------- */ |
| | | |
| | | function fm_ant_build() { |
| | | var m = '?c=de.uhilger.filecms.api.CompileService&m=antBuild&p=' + pfad; |
| | | var u = '../svc' + m; |
| | | fm_get(u, "text", function(resp) { |
| | | $('.system-out').empty(); |
| | | $('.system-out').append('Ergebnis von Ant build: ' + resp); |
| | | fm_fusszeile_zeigen(); |
| | | }); |
| | | } |
| | | |
| | | function fm_build_app() { |
| | | var m = '?c=de.uhilger.filecms.api.CompileService&m=buildApp&p=' + pfad; |
| | | var u = '../svc' + m; |