3 class EarApp : Application
9 const String s = argv[2];
10 if(SearchString(s, 0, ".html", false, true))
15 // ChangeExtension(s, "earres", f);
16 StripLastDirectory(s, f);
17 PathCat(f, "resources.ear");
19 sprintf(command, "ear aw %s", f);
20 for(i = 3; i < argc; i++)
24 if(!argv[i][0] || strchr(argv[i], ' '))
26 if(quote) strcat(command, "\"");
27 strcat(command, argv[i]);
28 if(quote) strcat(command, "\"");
31 DualPipe p = DualPipeOpen(0, command);