I am trying to deploy webobjects application into tomcat ,for this I am running ant script which come up with the project by default and I am quire sure I have done required things like changing webXML is set true and added javawojspservelt.jar in classpath and added LICENSE file in the project root and I set the wolips.properties file also but while compiling ant is unable to find the required jars.Any Idea on this?
Buildfile: C:\Users\SONY\workspace\Test1\build.xml
init.properties:
init.build:
compile:
[wocompile] C:\Users\SONY\workspace\Test1\build.xml:206: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
build.woapp:
[woapplication] Installing Test1 in dist
[woapplication] 'Windows Vista' is some kind of windows, skipping chmod.
javaclient:
ssdd:
war:
split:
[mkdir] Created dir: C:\Users\SONY\workspace\Test1\dist\Split
[copy] Copied 1 empty directory to 1 empty directory under C:\Users\SONY\workspace\Test1\dist\Split\WebObjects\Test1.woa
package:
[tar] Building tar: C:\Users\SONY\workspace\Test1\dist\Test1-Application.tar.gz
[tar] Building tar: C:\Users\SONY\workspace\Test1\dist\Test1-WebServerResources.tar.gz
build:
init.properties:
init.install:
compile:
[wocompile] C:\Users\SONY\workspace\Test1\build.xml:206: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
build.woapp:
[woapplication] Installing Test1 in dist
javaclient:
ssdd:
war:
split:
package:
[tar] Building tar: C:\Users\SONY\workspace\Test1\dist\Test1-Application.tar.gz
[tar] Nothing to do: C:\Users\SONY\workspace\Test1\dist\Test1-WebServerResources.tar.gz is up to date.
install:
init.properties:
clean:
[delete] Deleting directory C:\Users\SONY\workspace\Test1\bin
[delete] Deleting directory C:\Users\SONY\workspace\Test1\dist
init.properties:
init.install:
init.properties:
init.build:
init.properties:
init.properties:
compile:
[mkdir] Created dir: C:\Users\SONY\workspace\Test1\bin
[wocompile] C:\Users\SONY\workspace\Test1\build.xml:206: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[wocompile] Compiling 4 source files to C:\Users\SONY\workspace\Test1\bin
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:4: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WOApplication;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:5: package com.webobjects.foundation does not exist
[wocompile] import com.webobjects.foundation.NSLog;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:7: cannot find symbol
[wocompile] symbol: class WOApplication
[wocompile] public class Application extends WOApplication {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:4: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WOActionResults;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:5: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WORequest;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:6: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WODirectAction;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:10: cannot find symbol
[wocompile] symbol: class WODirectAction
[wocompile] public class DirectAction extends WODirectAction {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:11: cannot find symbol
[wocompile] symbol : class WORequest
[wocompile] location: class your.app.DirectAction
[wocompile] public DirectAction(WORequest request) {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:15: cannot find symbol
[wocompile] symbol : class WOActionResults
[wocompile] location: class your.app.DirectAction
[wocompile] public WOActionResults defaultAction() {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Session.java:4: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WOSession;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Session.java:6: cannot find symbol
[wocompile] symbol: class WOSession
[wocompile] public class Session extends WOSession {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\components\Main.java:4: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WOComponent;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\components\Main.java:5: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WOContext;
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\components\Main.java:7: cannot find symbol
[wocompile] symbol: class WOComponent
[wocompile] public class Main extends WOComponent {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\components\Main.java:10: cannot find symbol
[wocompile] symbol : class WOContext
[wocompile] location: class your.app.components.Main
[wocompile] public Main(WOContext context) {
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:9: cannot find symbol
[wocompile] symbol : variable WOApplication
[wocompile] location: class your.app.Application
[wocompile] WOApplication.main(argv, Application.class);
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:13: cannot find symbol
[wocompile] symbol : method name()
[wocompile] location: class your.app.Application
[wocompile] NSLog.out.appendln("Welcome to " + name() + " !");
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:13: package NSLog does not exist
[wocompile] NSLog.out.appendln("Welcome to " + name() + " !");
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\Application.java:15: cannot find symbol
[wocompile] symbol : method setAllowsConcurrentRequestHandling(boolean)
[wocompile] location: class your.app.Application
[wocompile] setAllowsConcurrentRequestHandling(true);
[wocompile] ^
[wocompile] C:\Users\SONY\workspace\Test1\Sources\your\app\DirectAction.java:16: cannot find symbol
[wocompile] symbol : method pageWithName(java.lang.String)
[wocompile] location: class your.app.DirectAction
[wocompile] return pageWithName(Main.class.getName());
[wocompile] ^
[wocompile] 20 errors
BUILD FAILED
C:\Users\SONY\workspace\Test1\build.xml:206: Compile failed; see the compiler error output for details.
Total time: 2 seconds