Skip to main content

Error SMPPRA mobicents/ra/smppra/build.xml - resolved

2 replies [Last post]
joncmuniz
Offline
Joined: 2007-10-29

Hi, when i run ant from smppra there is a error,
Do I need to do something else???
Buildfile: D:\Mobicents\workspace\mobicents\ra\smppra\build.xml
compile-event-src:
[echo] Creating RA Event jar.
build-ratype-jar:
[echo] Creating RA Type jar.
build-ratype-DU:
[echo] Mobicents Home -- ../..
copy-ratype-DU-libs:
[echo] Found RA Type libs fileset, adding to Ra Type DU.
[echo] Creating RA Type DU jar.
build-ra-jar:
[javac] Compiling 17 source files to D:\Mobicents\workspace\mobicents\ra\smppra\ra\classes\jar
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:61: package org.mobicents.slee.container does not exist
[javac] import org.mobicents.slee.container.SleeContainer;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:62: cannot find symbol
[javac] symbol : class ResourceAdaptorActivityContextInterfaceFactory
[javac] location: package org.mobicents.slee.resource
[javac] import org.mobicents.slee.resource.ResourceAdaptorActivityContextInterfaceFactory;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:63: cannot find symbol
[javac] symbol : class ResourceAdaptorEntity
[javac] location: package org.mobicents.slee.resource
[javac] import org.mobicents.slee.resource.ResourceAdaptorEntity;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:19: package org.mobicents.slee.container does not exist
[javac] import org.mobicents.slee.container.SleeContainer;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:20: cannot find symbol
[javac] symbol : class ResourceAdaptorActivityContextInterfaceFactory
[javac] location: package org.mobicents.slee.resource
[javac] import org.mobicents.slee.resource.ResourceAdaptorActivityContextInterfaceFactory;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:21: cannot find symbol
[javac] symbol : class SleeActivityHandle
[javac] location: package org.mobicents.slee.resource
[javac] import org.mobicents.slee.resource.SleeActivityHandle;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:22: package org.mobicents.slee.runtime does not exist
[javac] import org.mobicents.slee.runtime.ActivityContextFactory;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:23: package org.mobicents.slee.runtime does not exist
[javac] import org.mobicents.slee.runtime.ActivityContextInterfaceImpl;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:31: cannot find symbol
[javac] symbol: class ResourceAdaptorActivityContextInterfaceFactory
[javac] implements ActivityContextInterfaceFactory, ResourceAdaptorActivityContextInterfaceFactory {
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:36: cannot find symbol
[javac] symbol : class SleeContainer
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] private SleeContainer serviceContainer;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:37: cannot find symbol
[javac] symbol : class ActivityContextFactory
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] private ActivityContextFactory activityContextFactory;
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:42: cannot find symbol
[javac] symbol : class SleeContainer
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] public SmppActivityContextInterfaceFactoryImpl(SleeContainer serviceContainer, SmppResourceAdaptor ra, String name) {
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:624: cannot find symbol
[javac] symbol : class SleeContainer
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] SleeContainer sleeContainer = SleeContainer.lookupFromJndi();
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:624: cannot find symbol
[javac] symbol : variable SleeContainer
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] SleeContainer sleeContainer = SleeContainer.lookupFromJndi();
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:630: cannot find symbol
[javac] symbol : class ResourceAdaptorEntity
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] ResourceAdaptorEntity resourceAdaptorEntity =
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:631: cannot find symbol
[javac] symbol : class ResourceAdaptorEntity
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] (ResourceAdaptorEntity) sleeContainer.getResourceAdaptorEnitity(entityName);
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:642: cannot find symbol
[javac] symbol : class ResourceAdaptorActivityContextInterfaceFactory
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] String jndiName = ((ResourceAdaptorActivityContextInterfaceFactory)acif).getJndiName();
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:654: cannot find symbol
[javac] symbol : class ResourceAdaptorActivityContextInterfaceFactory
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] String jndiName = ((ResourceAdaptorActivityContextInterfaceFactory)
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppResourceAdaptor.java:659: cannot find symbol
[javac] symbol : variable SleeContainer
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppResourceAdaptor
[javac] SleeContainer.unregisterWithJndi(name);
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:59: cannot find symbol
[javac] symbol : class ActivityContextInterfaceImpl
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] return new ActivityContextInterfaceImpl(this.serviceContainer,
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:61: cannot find symbol
[javac] symbol : class SleeActivityHandle
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] new SleeActivityHandle(entityName, ra.getActivityHandle(dialog),
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:67: cannot find symbol
[javac] symbol : class ActivityContextInterfaceImpl
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] return new ActivityContextInterfaceImpl(this.serviceContainer,
[javac] ^
[javac] D:\Mobicents\workspace\mobicents\ra\smppra\ra\src\org\mobicents\slee\resource\smpp\ra\SmppActivityContextInterfaceFactoryImpl.java:69: cannot find symbol
[javac] symbol : class SleeActivityHandle
[javac] location: class org.mobicents.slee.resource.smpp.ra.SmppActivityContextInterfaceFactoryImpl
[javac] new SleeActivityHandle(entityName, ra.getActivityHandle(tx),
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 23 errors

BUILD FAILED
D:\Mobicents\workspace\mobicents\xml\ant\mobicents-ant-common-ra.xml:181: Compile failed; see the compiler error output for details.

Message was edited by: joncmuniz

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joncmuniz
Offline
Joined: 2007-10-29

I run ant inside the Eclipse and the build path it wasn't configured.
When I run ant from the prompt It run.
but i have to change the build.xml

Remove the depends="init"

It's all right ;)

mlaporta
Offline
Joined: 2007-04-02

> package org.mobicents.slee.container does not
> exist
Seems mobicents classes are missed.Which is your env (os,jboss,mobicents)?

you can try mobicents from source here:
http://forums.java.net/jive/thread.jspa?threadID=35839&tstart=0

or binary at http://mobicents.sourceforge.net/

Hope this can help

Michele