PKIX path building failed
Hi,
I am trying to send an email from Oracle SOA server. I have the latest java mail & jdk.
I am using yahoo india smtp settings.
smtp.mail.yahoo.co.in
SSL
465
I tried it with gmail as well. Also i tried a sample program with yahoo/gmail, but still the same exception...
Any help pls??
[TopLink Info]: 2010.08.30 15:02:05.969--ServerSession(676145274)--businessrules_session_oracle login successful
<Aug 30, 2010 3:07:11 PM EST> <Error> <oracle.sdp.messaging.driver.email> <SDP-25700> <An unexpected exception was caught.
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1369)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:310)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at oracle.sdpinternal.messaging.driver.email.EmailDriver.send(EmailDriver.java:781)
at oracle.sdpinternal.messaging.driver.email.EmailManagedConnection.send(EmailManagedConnection.java:56)
at oracle.sdpinternal.messaging.driver.DriverConnectionImpl.send(DriverConnectionImpl.java:41)
at oracle.sdpinternal.messaging.dispatcher.DriverDispatcherBean.onMessage(DriverDispatcherBean.java:298)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Sample Program:
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.Message.RecipientType;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import com.sun.mail.smtp.SMTPSSLTransport;
public class SendMailExample {
public static void main(String[] args) {
String from = "[email protected]";
String to = "[email protected]";
String subject = "Test Message";
String message = "This is A test message sent via Gmail ";
SendMail sendMail = new SendMail(from, to, subject, message);
sendMail.send();
class SendMail {
private String from;
private String to;
private String subject;
private String text;
public SendMail(String from, String to, String subject, String text){this.from = from; this.to = to; this.subject = subject;this.text = text;}
public void send(){
String host = "smtp.gmail.com";
String userid = "xx";
String password = "xx";
try
Properties props = System.getProperties();
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", host);
props.setProperty("mail.transport.protocol", "smtps");
props.put("mail.smtp.user", userid);
props.put("mail.smtp.password", password);
props.put("mail.smtp.port", "465");
props.put("mail.smtps.auth", "true");
Session session = Session.getDefaultInstance(props, null);
MimeMessage message = new MimeMessage(session);
InternetAddress fromAddress = null;
InternetAddress toAddress = null;
try {
fromAddress = new InternetAddress(from);
toAddress = new InternetAddress(to);
} catch (AddressException e) {
e.printStackTrace();
message.setFrom(fromAddress);
message.setRecipient(RecipientType.TO, toAddress);
message.setSubject(subject);
message.setText(text);
//SMTPSSLTransport transport =(SMTPSSLTransport)session.getTransport("smtps");
Transport transport = session.getTransport("smtps");
transport.connect(host, userid, password);
transport.sendMessage(message, message.getAllRecipients());
transport.close();
} catch (MessagingException e) {
e.printStackTrace();
Thanks,
Ganesh
Hi Ganesh!
Thanks a bunch for your quick response...
So, just to be sure about what I need to do:
1.- From the setDomainEnv.cmd I need to remove the part that reads -Djavax.net.ssl.trustStore=%WL_HOME%\server\lib\DemoTrust.jks...
2.- In the Keystores tab found in WebLogic Console Home > Summary of Servers > AdminServer(admin), change the Keystores current value "Demo Identity and Demo Trust" to the "Custom Identity and Java Standard Trust" option found in the dropdown box.
I have a doubt in number 2... Do I have to do this only in the AdminServer or I have to do it in both, the AdminServer and my ManagedServer (soa_server1)?
Again, thanks for your help, this error was driving me crazy!
Similar Messages
-
ODC: ERROR PKIX path building failed: to find valid certification path
Hi to all,
some one has experienced the error: PKIX path building failed: to find valid certification path to request target.... on the ODC while trying to connect
we solved temporally adding the ssl to the java virtual machine, is there a path in the odc to set the ssl ?
ODC 10.350
Thanks!If you are trying to connect to UCM via SSL , Please check below note
ODC - Errors Attempting to Connect to UCM Configured Through SSL (Doc ID 793137.1) -
PKIX path building failed Jdeveloper Windows vs Linux
Dear all
I developed an application using Jdeveloper 11.1.1.3.0. This application has a WS client (developed using the Jdeveloper wizard).
The strange part is that in Linux I get a "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error, but in Windows the client works perfectly. The complete error message is below.
I did some research, and I found that I should import some certificates for this to work, but then again in Windows I did nothing like that.
Any idea?
Thanks a lot
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:138)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:174)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:111)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.client.Stub.process(Stub.java:259)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)Being a total novice on the https/SSL configuration side of things, I've finally managed to dig down to the fact that our external partner of course needs to have a certificate installed in order to run https.
I guess the browser did not prompt and ask for acceptance of this, because it was already verified through one of the standard issuers - VeriSign.
So was then able to export the certificate through IE's Properties>Certificate>Details>Copy To File...
Will then try to import this into the correct domain on the WebLogic server.
(A quick test of the web service from the EM console worked fine. Strange then that executing the service through a partner link in bpel does not work, but I guess it may have to do with a local bpel being exposed as a web service in itself, and that security on both sides is called for... maybe... :-) )
-Haakon- -
PKIX path building failed. Windows vs Linux
Dear all
I developed an application using Jdeveloper 11.1.1.3.0. This application has a WS client (developed using the Jdeveloper wizard).
The strange part is that in Linux I get a "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error, but in Windows the client works perfectly. The complete error message is below.
I did some research, and I found that I should import some certificates for this to work, but then again in Windows I did nothing like that.
Any idea?
Thanks a lot
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:138)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:174)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:111)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.client.Stub.process(Stub.java:259)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)Hi Ganesh!
Thanks a bunch for your quick response...
So, just to be sure about what I need to do:
1.- From the setDomainEnv.cmd I need to remove the part that reads -Djavax.net.ssl.trustStore=%WL_HOME%\server\lib\DemoTrust.jks...
2.- In the Keystores tab found in WebLogic Console Home > Summary of Servers > AdminServer(admin), change the Keystores current value "Demo Identity and Demo Trust" to the "Custom Identity and Java Standard Trust" option found in the dropdown box.
I have a doubt in number 2... Do I have to do this only in the AdminServer or I have to do it in both, the AdminServer and my ManagedServer (soa_server1)?
Again, thanks for your help, this error was driving me crazy! -
Creative Cloud Packager - Build fail
Hi,
I am trying to build a package with CC 1.7 build 43 but receive the error 'Build fail'. I have pasted the log below. I have tried both x86 and x64 but it doesn't make a difference. I also tried building it without Illustrator but then received the same error with with Acrobat Pro.
The only adobe productso on my workstation is Reader and Flash, running Win7. Any ideas how i can fix this?
10/28/2014 09:41:28[INFO] AdobePackageBuilder - Build Version - 1.7.0.43
10/28/2014 09:41:28[INFO] AdobePackageBuilder - Logging Level verbosity Set to 4
10/28/2014 09:41:58 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
10/28/2014 09:42:15 [INFO] AdobePackageBuilder - Sucessfully extracted the product at C:\Users\brettm\AppData\Local\Temp\{EE9A7B5D-B687-482F-906D-3BC2C4C17DAA}\ACCCx2_8_1_451
10/28/2014 09:42:15 [INFO] AdobePackageBuilder - Extraction completed with return code = 0
10/28/2014 09:42:51 [WARN] AdobePackageBuilder - No file exist at (C:\CC\QLS_Digital\x86\QLS_Digital_x86\Build\ASU\Tools\CCC\Uninstall\deploy\remove.xml)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Setup.xml)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - ASU at Path (C:\CC\QLS_Digital\x86\QLS_Digital_x86\Build\Setup\APRO11.0.0en_GB\Set-up.exe) is not found. Skipping copying and renaming.
10/28/2014 09:44:23 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
10/28/2014 09:44:27 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
10/28/2014 09:44:27 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Setup.xml)
10/28/2014 09:45:08 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
10/28/2014 09:45:11 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
10/28/2014 09:45:11 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\setup.xml)
10/28/2014 09:46:09 [ERROR] AdobePackageBuilder - Failed to unzip the file (payloads\AdobeIllustrator18-mul-300914132703\Assets1_1.zip) from the zip file (C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install\AdobeIllustrator18-mul\18.1.0 .430.2\setup.zip).
10/28/2014 09:46:09 [ERROR] AdobePackageBuilder - Failed to unzip the update - C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install\AdobeIllustrator18-mul\18.1.0. 430.2\setup.zip.
Regards,
Brett.If I recall correctly I got around this by deleting everything under the C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install directory and whitelisted the following address in our proxy server. Then I started all over again and it worked. It always failed towards the end of the build so I can only assume it was doing some final checks with Adobe servers to make sure I had the proper licencing or something like that. Hope this helps.
ccmdl.adobe.com:80
swupmf.adobe.com:80
swupdl.adobe.com:80
https://na1mbls.licenses.adobe.com
https://ims-na1.adobelogin.com
https://adobeid-na1.services.adobe.com
https://na1r.services.adobe.com
http://activate.adobe.com
https://activate.adobe.com
http://adobe.activate.com
https://adobe.activate.com
ccmdls.adobe.com:443
ims-na1.adobelogin.com:443
na1r.services.adobe.com:443
prod-rel-ffc-ccm.oobesaas.adobe.com:443
lm.licenses.adobe.com:443
www-du1.adobe.com
Regards,
Brett. -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
Build Fails for Alsaplayer in ABS
Hi all,
I couldn't get alsaplayer to run in GUI mode, but I found this thread that had the answer: http://bbs.archlinux.org/viewtopic.php?id=42168. So I followed the ABS wiki's directions for setting up ABS and I tried to run for alsaplayer (with the one line change in the PKGBUILD) , but the build fails after configuring. Here's the full console output:
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.1.7... yes, `/usr/bin/libmikmod-config --version`
checking for Ogg... yes
checking for Vorbis... yes
checking for audiofile-config... /usr/bin/audiofile-config
checking for Audio File Library - version >= 0.1.7... yes
checking for afOpenFile in -laudiofile... yes
checking for ANSI C header files... (cached) yes
*** Disabling OpenGL plugins per user request ***
checking for FLAC__stream_decoder_new in -lFLAC... yes
checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... yes
checking for mad_stream_init in -lmad... yes
checking for id3_file_open in -lid3tag... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JACK... yes
checking for xosd_create in -lxosd... no
checking for GLIB2... yes
checking for GTK2... yes
checking for SNDFILE... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking audio/audiolib.h usability... no
checking audio/audiolib.h presence... no
checking for audio/audiolib.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes
checking OggFLAC/stream_decoder.h usability... no
checking OggFLAC/stream_decoder.h presence... no
checking for OggFLAC/stream_decoder.h... no
checking for alsa version... found latest
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.4... yes
checking for alOpenPort in -laudio... no
checking for AuStartFlow in -laudio... no
checking for doxygen... false
configure: WARNING: *** doxygen not found, docs will not be built
checking machine architecture... i686
checking for gcc optimization flags... -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for madvise... yes
checking for strdup... (cached) yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating alsaplayer.1
config.status: creating alsaplayer.pc
config.status: creating alsaplayer.spec
config.status: creating app/Makefile
config.status: creating interface/Makefile
config.status: creating interface/gtk2/Makefile
config.status: creating interface/gtk2/pixmaps/Makefile
config.status: creating interface/text/Makefile
config.status: creating interface/daemon/Makefile
config.status: creating interface/xosd/Makefile
config.status: creating scopes2/Makefile
config.status: creating scopes2/monoscope/Makefile
config.status: creating scopes2/levelmeter/Makefile
config.status: creating scopes2/spacescope/Makefile
config.status: creating scopes2/logbarfft/Makefile
config.status: creating scopes2/synaescope/Makefile
config.status: creating scopes2/blurscope/Makefile
config.status: creating scopes2/opengl_spectrum/Makefile
config.status: creating output/Makefile
config.status: creating output/alsa-0.5.x/Makefile
config.status: creating output/alsa-final/Makefile
config.status: creating output/jack/Makefile
config.status: creating output/oss/Makefile
config.status: creating output/esound/Makefile
config.status: creating output/sgi/Makefile
config.status: creating output/sparc/Makefile
config.status: creating output/null/Makefile
config.status: creating output/nas/Makefile
config.status: creating input/Makefile
config.status: creating input/mad/Makefile
config.status: creating input/cdda/Makefile
config.status: creating input/mikmod/Makefile
config.status: creating input/wav/Makefile
config.status: creating input/vorbis/Makefile
config.status: creating input/audiofile/Makefile
config.status: creating input/flac/Makefile
config.status: creating input/sndfile/Makefile
config.status: creating reader/Makefile
config.status: creating reader/file/Makefile
config.status: creating reader/http/Makefile
config.status: creating alsaplayer/Makefile
config.status: creating libalsaplayer/Makefile
config.status: creating extra/Makefile
config.status: creating examples/Makefile
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference.doxygen
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Install path: /usr
Use libmad shared library: yes
Enable libid3tag support: yes
Build GTK2 interface: yes
Build XOSD interface: no
Build OpenGL based visual plugins: no
Build alsa 0.5.x output plugin: no
Build alsa 0.9.x output plugin: yes
Build jack output plugin: yes
Build oss output plugin: yes
Build esound output plugin: yes
Build sparc output plugin: no
Build sgi output plugin: no
Build nas output plugin: no
Build vorbis input plugin: yes
Build cdda input plugin: yes
Build mikmod input plugin: yes
Build audiofile input plugin: yes
Build FLAC input plugin: yes
Included OggFLAC input plugin: yes
Separated OggFLAC input plugin: no
Build sndfile input plugin: yes
Now type 'make' to build AlsaPlayer.
make all-recursive
make[1]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
Making all in intl
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
Making all in po
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
Making all in interface
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in gtk2
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in pixmaps
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in text
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
Making all in daemon
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
Making all in xosd
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in output
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in alsa-0.5.x
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
Making all in alsa-final
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
Making all in oss
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
Making all in esound
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
Making all in sgi
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
Making all in sparc
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
Making all in nas
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
Making all in null
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
Making all in jack
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in input
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in cdda
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
Making all in audiofile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
Making all in mikmod
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
Making all in wav
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
Making all in vorbis
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
Making all in mad
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
Making all in flac
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
Making all in sndfile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in app
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
g++ -DHAVE_CONFIG_H -I. -I.. -I../alsaplayer -I../libalsaplayer -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -DADDON_DIR=\"/usr/lib/alsaplayer\" -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall -march=i686 -mtune=generic -O2 -pipe -march=i686 -mtune=generic -O2 -pipe -MT alsaplayer-ControlSocket.o -MD -MP -MF .deps/alsaplayer-ControlSocket.Tpo -c -o alsaplayer-ControlSocket.o `test -f 'ControlSocket.cpp' || echo './'`ControlSocket.cpp
ControlSocket.cpp: In function 'void socket_looper(void*)':
ControlSocket.cpp:150: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:151: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:154: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:158: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:161: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:164: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:167: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:170: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:173: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:176: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:184: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:188: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:192: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:196: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:201: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:206: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:209: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:212: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:214: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:219: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:223: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:229: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:235: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:239: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:243: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:245: error: 'PATH_MAX' was not declared in this scope
ControlSocket.cpp:246: error: 'save_path' was not declared in this scope
ControlSocket.cpp:248: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:257: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:261: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:267: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:268: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:272: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:273: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:277: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:278: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:282: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:283: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:286: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:292: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:298: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:319: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:322: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:323: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:326: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:332: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:337: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:339: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:345: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:346: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:351: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:353: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:359: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:360: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:366: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:367: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:373: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:374: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:380: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:381: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:387: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:388: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:394: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:395: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:400: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:401: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:407: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:408: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:414: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:415: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:421: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:422: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:428: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:429: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:435: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:436: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:441: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:444: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:446: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:451: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:452: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:457: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:471: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:475: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:486: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:489: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:490: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:495: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:496: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:501: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:502: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:507: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:508: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:513: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:515: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:520: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:521: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:524: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:526: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:527: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:530: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:535: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:537: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:539: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:542: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:547: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:550: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:553: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:558: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:561: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:564: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [alsaplayer-ControlSocket.o] Error 1
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
make: *** [all] Error 2
I figure it's those 2 errors in the middle of make that are holding it up, but I don't have a clue how to fix it.
thanks,
progrockIf you know how to write a patch or feel like learning, put one together, file a bug report, and submit the patch with it. If you don't feel like writing a patch, just submit a bug report that says that app/ContolSocket.cpp needs "include <climits>" to build. Either way is good.
Last edited by skottish (2008-08-08 04:03:17) -
I use BPM standalone 10g and BPM studio 10g.
I copy the AntTasks folder to F:
Then, I change the BPMHOME of all files.
Then, I ran the ant.
However, the ant is fail.
Error mesage:
F:\AntTasks\build.xml: 268: The file or path you specified (..\..\basic) is invalid relative to F:\AntTasks
or The command line shows error:
Build failed
F:\AntTasks\build.xml:268: Cannot resolve path F:\AntTasks\..\..\basic
The build file is like that
<property name="bpm.projects.dir" value="${basedir}/../../basic" />
<property name="fuego.basedir" value="D:\BPM_HOME" />
How to change the path?
Then, I copy the above folder to D:\BPM_HOME\samples
I rerun the ant script.
set ANT_ARGS=-lib D:\BPM_HOME\lib;D:\BPM_HOME\ext
ant -Denv=EDV deploy-bpm-project
But the build is failed again. The error message as as follow:
D:\BPM_HOME\samples\interop\AntTasks\build.xml:249: Properties file does not exist! D:\BPM_HOME\samples\interop\AntTasks\config\EDV\directory.xml
However, I do not delete files.Now, I use the original AntTasks sample and run the scripts. I stop the BPM application.
I follow each step of the readme.txt. But during the first step, it shows error of illegal arguments.
New engin can be created. But it cannot be run through ant. And I cannot deploy the BPM project.
I try in the second method.
I have a Default Eirectory Configuration named default. If I just want to deploy .exp file to default, how to modify the script files?
I just run the script of deployment. The build is still failed.
I cannot find xsi in all xml file in that folder
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>set ANT_ARGS=-lib
D:\BPM_HOME\lib;D:\BPM_HOME_standalone\ext
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>ant deploy-bpm-pro
ject
Buildfile: build.xml
[input] No environment specified. Please enter environment id:(DEV,PROD,UAT,
config)
DEV
prompt-project-name:
[echo] bpm.projects.dir = ../../basic
[input] Please enter project name:(ExpenseManagement,HROnboarding)
HROnboarding
deploy-bpm-project:
[input] Enter Organizational Unit for deployment (may be empty):
ou
[input] Force new major version?(y,n)
y
[unzip] Expanding: D:\BPM_HOME_standalone\samples\basic\HROnboarding.exp int
o D:\BPM_HOME_standalone\samples\basic
[echo] Publishing and deploying HROnboarding project on DEV environment ...
[fuego:session] fuego base dir [\BPM_HOME]
[fuego:session] CREATE_CONNECTOR 正在创建连接器 [fuego:SQL]
[fuego:publish] text = nostore
[fuego:publish] text = nostore
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
BUILD FAILED
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine\build.xml:261: jav
a.lang.IllegalArgumentException -
LV 8.2; Build Failed Error 10
During the build phase build failed with the following returned:
Error 10 occurred at ABAPI Dist Copy Non-VI Files.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: Duplicate path.
I converted the build I used under the previous Labview version. The application was not changed; this was a test build with the only change being the revision change to 8.20
Paul C McGuff
MD TOTCO
[email protected]Hi Paul,
That error usually comes up when a DLL that you reference in a VI is also included as a support file in the application build. I've seen this when including a DLL that is installed with an NI driver (such as lvdaq.dll for data acquisition). If your Build Specification has any NI DLL's included as support files, these can be removed. If you need driver support, the recommended way of doing this is by creating an installer Build Spec and including the device driver under the Additional Installers page.
Cheers,
Matt Pollock
National Instruments -
I was having problem when building a Java DC for JavaBeans (to be exported to Web Dynpro DC). Therefore, there is only one Java class which has the getter and setter there.
I <b>do not have a DTR installed</b>, so the DC was created under Local DCs -> Local Development -> MyComponents.
The build log error is as below:
Dec 1, 2006 10:51:46 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: jbmodel: Build failed for sap.com/jbmodel(MyComponents) in variant "default": Used component not found: sap.com/tc/bi/bp/javaLib
Build log -
Dec 1, 2006 10:51:46 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: jbmodel: Build failed for sap.com/jbmodel(MyComponents) in variant "default": Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/javaLib. DC not found in DC syncdb
Build log -
Development Component Build (2006-12-01 10:51:46)
Component name: jbmodel
Component vendor: sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: julius.hock@julius
DC root folder: C:\Documents and Settings\julius.hock\.dtc\LocalDevelopment\DCs\sap.com\jbmodel\_comp\
DC type: Java
Host: julius
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] ERROR: Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/javaLib. DC not found in DC syncdb
[dcmake] Build failed with errors.
Any help would be appreciated. Thanks.Hi Denis,
go to eclipse plugins folder and into 'com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/bp' and check if u have folder 'javaLib' with build plugin.
<b>Ans: Yes, javaLib is there. Do you meant i need to add javalibplugin.jar to the Java Build Path?</b>
then go to 'com.sap.tc.ap/SCs/sap.com/SAP_BUILDT/_comp/TopLevelDCs
and check if you have 'sap.com tc bi bp javaLib.dcref' file here - if not create it
<b>Ans: It's alrdy there.</b>
In my local development, SAP_BUILDT, SAP_JTECHS, SAP-JEE are without any child.
How shld i proceed? -
BUILD FAILED: problem with junit
Hi, I'm taking the CDJ-310A - Developing Applications for the J2EE Platform course and have run into a problem when issuing a call to asant. When I run asant test the message it gives is "Ant could not find the task or a class this task relies upon.".The errors I get refer to the junit package.
I've check the CLASSPATH and it seams ok:
D:\labs\FJ310\bankproject>javap junit.framework.TestCase
Compiled from "TestCase.java"
public abstract class junit.framework.TestCase extends junit.framework.Assert im
plements junit.framework.Test{
public junit.framework.TestCase();
public junit.framework.TestCase(java.lang.String);
public int countTestCases();
protected junit.framework.TestResult createResult();
public junit.framework.TestResult run();
public void run(junit.framework.TestResult);
public void runBare() throws java.lang.Throwable;
protected void runTest() throws java.lang.Throwable;
protected void setUp() throws java.lang.Exception;
protected void tearDown() throws java.lang.Exception;
public java.lang.String toString();
public java.lang.String getName();
public void setName(java.lang.String);
D:\labs\FJ310\bankproject>javap junit.textui.TestRunner
Compiled from "TestRunner.java"
public class junit.textui.TestRunner extends junit.runner.BaseTestRunner{
public static final int SUCCESS_EXIT;
public static final int FAILURE_EXIT;
public static final int EXCEPTION_EXIT;
public junit.textui.TestRunner();
public junit.textui.TestRunner(java.io.PrintStream);
public junit.textui.TestRunner(junit.textui.ResultPrinter);
public static void run(java.lang.Class);
public static junit.framework.TestResult run(junit.framework.Test);
public static void runAndWait(junit.framework.Test);
public void testFailed(int, junit.framework.Test, java.lang.Throwable);
public void testStarted(java.lang.String);
public void testEnded(java.lang.String);
protected junit.framework.TestResult createTestResult();
public junit.framework.TestResult doRun(junit.framework.Test);
public junit.framework.TestResult doRun(junit.framework.Test, boolean);
protected void pause(boolean);
public static void main(java.lang.String[]);
public junit.framework.TestResult start(java.lang.String[]) throws jav
a.lang.Exception;
protected junit.framework.TestResult runSingleMethod(java.lang.String, java.
lang.String, boolean) throws java.lang.Exception;
protected void runFailed(java.lang.String);
public void setPrinter(junit.textui.ResultPrinter);
But still these errors still are produced:
D:\labs\FJ310\bankproject>asant clean
Buildfile: build.xml
clean:
[delete] Deleting directory D:\labs\FJ310\bankproject\build
[delete] Deleting directory D:\labs\FJ310\bankproject\jar
BUILD SUCCESSFUL
Total time: 0 seconds
D:\labs\FJ310\bankproject>asant
Buildfile: build.xml
prepare:
[mkdir] Created dir: D:\labs\FJ310\bankproject\build
[mkdir] Created dir: D:\labs\FJ310\bankproject\jar
compile:
[javac] Compiling 6 source files to D:\labs\FJ310\bankproject\build
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:9: package junit
.framework does not exist
[javac] import junit.framework.*;
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:11: cannot find
symbol
[javac] symbol: class TestCase
[javac] public class BankMgrTest extends TestCase {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:15: cannot find
symbol
[javac] symbol : class Test
[javac] location: class bank.BankMgrTest
[javac] public static Test suite() {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:16: cannot find
symbol
[javac] symbol : class TestSuite
[javac] location: class bank.BankMgrTest
[javac] return new TestSuite(BankMgrTest.class);
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:20: package juni
t.textui does not exist
[javac] junit.textui.TestRunner.run(suite());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:39: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Fred", data.getFirstname());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:40: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Flintstone", data.getLastname());
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
BUILD FAILED
D:\labs\FJ310\bankproject\build.xml:14: Compile failed; see the compiler error o
utput for details.
Total time: 4 seconds
Any help solving these errors would be highly appreciated. I'm stuck right now. Thanks!i have this problem too. and i added in CLASSPATH the path for junit.jar file. but still does not work
my build.xml file :
<project name="bankproject" default="deploy" basedir=".">
<property environment="env"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="jar.dir" value="${basedir}/jar"/>
<target name="prepare">
<mkdir dir="${build.dir}"/>
<mkdir dir="${jar.dir}"/>
</target>
<target name="compile" depends="prepare" >
<javac destdir="${build.dir}">
<src path="${src.dir}"/>
</javac>
</target>
<target name="package-bankmgr" depends="compile">
<delete file="${jar.dir}/BankEJBModule.jar"/>
<copy file="dd/bank-ejb-jar.xml" tofile="${build.dir}/ejb-jar.xml" overwrite="true"/>
<copy file="dd/bank-sun-ejb-jar.xml" tofile="${build.dir}/sun-ejb-jar.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/BankEJBModule.jar">
<metainf dir="${build.dir}" includes="ejb-jar.xml,sun-ejb-jar.xml" />
<fileset dir="${build.dir}">
<include name="bank/**" />
<exclude name="bank/BankMgrTest.class" />
<exclude name="bank/CustomerTest.class" />
</fileset>
</jar>
</target>
<target name="package-ejbs" depends="package-bankmgr" />
<target name="package-client" depends="compile">
<delete file="${jar.dir}/ClientModule.jar"/>
<copy file="dd/bank-application-client.xml" tofile="${build.dir}/application-client.xml" overwrite="true"/>
<copy file="dd/bank-sun-application-client.xml" tofile="${build.dir}/sun-application-client.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/ClientModule.jar">
<manifest>
<attribute name="Main-Class" value="bank.MessageClient" />
</manifest>
<metainf dir="${build.dir}" includes="application-client.xml,sun-application-client.xml" />
<fileset dir="${build.dir}">
<include name="bank/MessageClient.class" />
</fileset>
</jar>
</target>
<target name="assemble-app" depends="package-ejbs,package-client">
<delete file="${jar.dir}/BankApplication.ear"/>
<copy file="dd/bank-application.xml" tofile="${build.dir}/application.xml" overwrite="true"/>
<ear destfile="${jar.dir}/BankApplication.ear" appxml="${build.dir}/application.xml">
<fileset dir="${jar.dir}">
<include name="BankEJBModule.jar"/>
<include name="ClientModule.jar"/>
</fileset>
</ear>
</target>
<property name="j2ee.home" value="${env.J2EE_HOME}" />
<property name="admin.user" value="admin" />
<property name="admin.pass" value="password" />
<property name="appname" value="BankApplication"/>
<property name="ear.file" value="${jar.dir}/${appname}.ear" />
<target name="setAsadmin" >
<condition property="asadmin" value="asadmin.bat">
<os family="windows"/>
</condition>
<condition property="asadmin" value="asadmin">
<not>
<os family="windows"/>
</not>
</condition>
</target>
<target name="deploy" depends="assemble-app,setAsadmin">
<echo message="Deploying ${ear.file}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" deploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --force=true"/>
<arg line=" --name ${appname}"/>
<arg line=" --retrieve=." />
<arg line=" ${ear.file}"/>
</exec>
</target>
<target name="get-stubs" depends="setAsadmin">
<echo message="Retrieving stubs JAR file for ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" get-client-stubs"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --appname ${appname}"/>
<arg line=" ."/>
</exec>
</target>
<target name="undeploy" depends="setAsadmin">
<echo message="Undeploying ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" undeploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" ${appname}"/>
</exec>
</target>
<target name="test">
<junit printsummary="on" haltonfailure="no" filtertrace="off">
<classpath>
<pathelement location="${build.dir}"/>
<pathelement path="${java.class.path}"/>
<pathelement path="BankApplicationClient.jar" />
</classpath>
<formatter type="plain" usefile="no"/>
<test name="bank.BankMgrTest"/>
</junit>
</target>
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${jar.dir} "/>
</target>
</project> -
Asant build: BUILD FAILED
Hi All,
I'm trying the helloservice example from the J2EE Tutorial. When I build it with asant build, I have the message bellow:
generate-wsdl:
prepare:
[echo] Creating the required directories....
set-wscompile:
run-wscompile:
[echo] Running wscompile:
[echo] /bin/wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml
BUILD FAILED
file:D/Javaj2sdk/j2eetutorial14/examples/jaxrpc/common/targets.xml:64: Execute failed: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml error=3
Can someone please help me?
Thank you..:)Hello Every One actually i got error when i m giving asant build..................
please give me a solution
Buildfile: build.xml
j2ee-home-test:
BUILD FAILED
F:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not
properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
Set the j2ee.home property to the location of your Application Server installati
on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth
er backslash or use forward slashes as a path separator. So, if your Application
Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = F:\\Sun\\AppServer
or
j2ee.home=F:/Sun/AppServer
j2ee.home is currently set to:
Total time: 2 seconds -
FusionOrderDemo_R1PS3 -- Schema build failed
Hi I am trying to build the schema Fusion Order Demo and am getting this error. If any faced this issue and had a resolution please help.. Thanks in advance!!
# Master Ant properties file for Fusion Order Demo
# All build files refer to this master list of properties
# Continuous builds override these settings
# $Id: build.properties 812 2007-02-20 07:14:33Z lmunsing $
# Base Directory for library lookup
jdeveloper.home=D:\ofmw11g\mw\jdeveloper
src.home=..//..
# JDBC info used to create Schema
jdbc.driver=oracle.jdbc.OracleDriver
jdbc.urlBase=jdbc:oracle:thin:@foddb-server
jdbc.port=1521
jdbc.sid=orcl
# Information about the default setup for the demo user.
db.adminUser=system
db.demoUser=FOD
db.demoUser.password=fusion
db.demoUser.tablespace=USERS
db.demoUser.tempTablespace=TEMP
Buildfile: D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\Ant\build.xml
init:
[javac] Compiling 1 source file to D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\DBSchema\build.xml:28: D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\wlserver_10.3\server\lib not found.
Total time: 3 secondstry jdeveloper.home=D:/ofmw11g/mw/jdeveloperas jdev home...
Next you should avoid spaces in the path 'D:\fusion projects\...'
The error shows that the path to the wls server is wrong 'D:\fusion projects\FusionOrderDemo_R1PS3\PS3_tag2\Infrastructure\wlserver_10.3\server\lib' should be
'D:/ofmw11g/mw/wlserver_10.3/server/lib'...
Timo -
Preverification failed with error code 1. BUILD FAILED
Hallo Oracle,
Am learning my first J2me application and when i build it am getting this error. can some one help me understand what it means
Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
Copying 1957 files to C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified
Preverifying 1957 file(s) into C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified directory.
Error preverifying class com.sun.activation.registries.MailcapFile
VERIFIER ERROR com/sun/activation/registries/MailcapFile
.<init>(Ljava/lang/String;)V:
Cannot find class java/util/Map
C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\nbproject\build-impl.xml:431: Preverification failed with error code 1.
BUILD FAILED (total time: 25 seconds)
this is the contents of build-impx.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- *** GENERATED FROM project.xml - DO NOT EDIT *** -->
<project name="watsdownapp-impl" default="jar" basedir="..">
<!--load-properties-->
<target name="pre-load-properties">
<property file="nbproject/private/private.properties"/>
<property name="user.properties.file" location="${netbeans.user}/build.properties"/>
<available property="user.properties.file.exists" file="${user.properties.file}"/>
</target>
<target name="exists.config.active" unless="config.active">
<echo level="warning" message="Active configuration (config.active property) is not set - using default."/>
<property value="" name="config.active"/>
</target>
<target name="exists.netbeans.user" unless="netbeans.user">
<echo level="warning" message="NetBeans IDE user directory (netbeans.user property) is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: ant-ext library home, ...). You could also open this project in the NetBeans IDE - in this case this property would be set automatically."/>
</target>
<target name="exists.user.properties.file" unless="user.properties.file.exists">
<echo level="warning" message="User properties file (user.properties.file) property is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: libraries, platforms, ...)."/>
</target>
<target name="load-properties" depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file">
<loadproperties srcfile="nbproject/project.properties">
<filterchain>
<containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
<concatfilter prepend="nbproject/project.properties"/>
<containsregex pattern="^platform.active=|^deployment.method=|^deployment.instance="/>
</filterchain>
</loadproperties>
<property name="deployment.instance" value="default"/>
<loadproperties srcfile="${user.properties.file}">
<filterchain>
<replaceregex pattern="^platforms\.${platform.active}\." replace="platform."/>
<replaceregex pattern="^deployment\.${deployment.method}\.scriptfile=" replace="deployment.scriptfile="/>
<replaceregex pattern="^deployments\.${deployment.method}\.${deployment.instance}\.([^=]+)=" replace="\1="/>
</filterchain>
</loadproperties>
<loadproperties srcfile="nbproject/project.properties">
<filterchain>
<containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
<concatfilter prepend="nbproject/project.properties"/>
</filterchain>
</loadproperties>
</target>
<!--basic-init-->
<target name="exists.platform.active" unless="platform.active">
<echo level="warning" message="Active platform (platform.active property) in not set. If you set this and user.properties.file property, many properties required by the project will be automatically evaluated (e.g.: platform home, platform classpath, ...)."/>
</target>
<target name="exists.platform.configuration" unless="platform.configuration">
<echo level="warning" message="Platform configuration (platform.configuration) is not set. Using default (CLDC-1.0) configuration."/>
<property name="platform.configuration" value="CLDC-1.0"/>
</target>
<target name="exists.platform.profile" unless="platform.profile">
<echo level="warning" message="Platform profile (platform.profile) is not set. Using default (MIDP-1.0) profile."/>
<property name="platform.profile" value="MIDP-1.0"/>
</target>
<target name="basic-init" depends="exists.platform.active,exists.platform.configuration,exists.platform.profile">
<fail unless="libs.j2me_ant_ext.classpath">Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory.</fail>
<fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
<fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>
<fail unless="src.dir">Must set src.dir</fail>
<fail unless="build.dir">Must set build.dir</fail>
<fail unless="dist.dir">Must set dist.dir</fail>
<fail unless="dist.jar">Must set dist.jar</fail>
<property name="javac.source" value="1.3"/>
<property name="javac.target" value="1.1"/>
<property name="javac.encoding" value="${file.encoding}"/>
<property name="deployment.number" value="0.0.1"/>
<property name="deployment.counter" value="000002"/>
<condition property="no.deps">
<istrue value="${no.dependencies}"/>
</condition>
<condition property="no.preprocess">
<isfalse value="${use.preprocessor}"/>
</condition>
<condition property="no.javadoc.preview">
<isfalse value="${javadoc.preview}"/>
</condition>
<condition property="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes},**/*Test.java,**/test,**/test/**">
<istrue value="${filter.exclude.tests}"/>
</condition>
<property name="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes}"/>
<condition property="deployment.do.override.jarurl" value="">
<istrue value="${deployment.override.jarurl}"/>
</condition>
<condition property="config.active.name" value="DefaultConfiguration">
<length string="${config.active}" trim="true" length="0"/>
</condition>
<property name="config.active.name" value="${config.active}"/>
<taskdef resource="org/netbeans/mobility/antext/defs.properties">
<classpath>
<pathelement path="${libs.j2me_ant_ext.classpath}"/>
</classpath>
</taskdef>
<condition property="skip.deployment">
<equals arg1="${deployment.method}" arg2="NONE" casesensitive="false" trim="true"/>
</condition>
<condition property="app-version.autoincrement.trigger">
<istrue value="${app-version.autoincrement}"/>
</condition>
<condition property="debug.timeout" value="30000">
<or>
<equals arg1="${debugger.timeout}" arg2="" trim="true"/>
<not>
<isset property="debugger.timeout"/>
</not>
</or>
</condition>
<property name="debug.timeout" value="${debugger.timeout}"/>
<nb-overrideproperty name="buildsystem.baton" value="${src.dir}"/>
</target>
<!--cldc-init-->
<target name="cldc-pre-init">
<condition property="cldc-platform.trigger">
<equals arg1="CLDC" arg2="${platform.trigger}" casesensitive="false"/>
</condition>
</target>
<target name="cldc-init" depends="cldc-pre-init" if="cldc-platform.trigger">
<property name="preverify.sources.dir" location="${build.dir}/preverifysrc"/>
<property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
<property name="platform.device" value=""/>
<property name="dist.jad.url" value="file://"/>
<property name="run.cmd.options" value=""/>
<condition property="evaluated.run.security.domain" value="">
<isfalse value="${run.use.security.domain}"/>
</condition>
<property name="evaluated.run.security.domain" value="${run.security.domain}"/>
<condition property="override.jarurl.trigger">
<and>
<istrue value="${cldc-platform.trigger}"/>
<istrue value="${deployment.override.jarurl}"/>
</and>
</condition>
<property name="deployment.jad" location="${dist.dir}/${dist.jad}"/>
<property name="deployment.jar" location="${dist.dir}/${dist.jar}"/>
<property name="deployment.dir" location="${dist.dir}"/>
<patternset id="deployment.patternset">
<include name="${dist.jad}"/>
<include name="${dist.jar}"/>
</patternset>
</target>
<!--cdc-init-->
<target name="cdc-init">
<condition property="cdc-platform.trigger">
<equals arg1="CDC" arg2="${platform.trigger}" casesensitive="false"/>
</condition>
<available file="${manifest.file}" property="manifest.available"/>
<condition property="main.class.applet">
<equals arg1="${main.class.class}" arg2="applet" casesensitive="false"/>
</condition>
<condition property="main.class.xlet">
<equals arg1="${main.class.class}" arg2="xlet" casesensitive="false"/>
</condition>
<condition property="manifest.available+main.class+fat.jar">
<and>
<isset property="manifest.available"/>
<isset property="main.class"/>
<istrue value="${platform.fat.jar}"/>
<not>
<equals arg1="${main.class}" arg2="" trim="true"/>
</not>
</and>
</condition>
<condition property="manifest.available+main.class">
<and>
<isset property="manifest.available"/>
<isset property="main.class"/>
<isfalse value="${platform.fat.jar}"/>
<not>
<equals arg1="${main.class}" arg2="" trim="true"/>
</not>
</and>
</condition>
<condition property="application.version.invalid" value="true">
<equals arg1="${deployment.number}" arg2="" trim="true"/>
</condition>
<fail if="application.version.invalid" message="Property deployment.number must not be empty and must contain version in format %d.%d.%d!"/>
<condition property="sign.jar.trigger" value="true">
<and>
<isset property="cdc-platform.trigger"/>
<istrue value="${sign.enabled}"/>
</and>
</condition>
</target>
<!--semc-init-->
<target name="semc-pre-init" if="cdc-platform.trigger">
<condition property="semc-platform.trigger">
<equals arg1="semc" arg2="${platform.type}" casesensitive="false"/>
</condition>
</target>
<target name="semc-init" depends="semc-pre-init" if="semc-platform.trigger">
<condition property="semc.icon.invalid" value="true">
<or>
<contains string="${semc.application.icon}" substring="$${"/>
<equals arg1="${semc.application.icon}" arg2="" trim="true"/>
</or>
</condition>
<condition property="no.certificateorkey" value="true">
<or>
<isset property="no.application.uid"/>
<equals arg1="${semc.certificate.path}" arg2="" trim="true"/>
<contains string="${semc.certificate.path}" substring="$${semc.certificate.path"/>
<equals arg1="${semc.private.key.path}" arg2="" trim="true"/>
<contains string="${semc.private.key.path}" substring="$${semc.private.key.path"/>
</or>
</condition>
<property name="j9.dist" location="${build.dir}/j9/${semc.application.uid}.j9"/>
<taskdef resource="org/netbeans/modules/j2me/cdc/project/defs.properties">
<classpath>
<pathelement path="${libs.cdc-ant-utils.classpath}"/>
</classpath>
</taskdef>
<taskdef resource="org/netbeans/modules/j2me/cdc/project/semc/defs.properties">
<classpath>
<pathelement path="${libs.semc-ant-utils.classpath}"/>
</classpath>
</taskdef>
<property name="deployment.dir" location="${dist.dir}"/>
<patternset id="deployment.patternset">
<include name="*.sis"/>
<include name="*.SIS"/>
</patternset>
</target>
<!--savaje-init-->
<target name="savaje-pre-init" if="cdc-platform.trigger">
<condition property="savaje-platform.trigger">
<equals arg1="savaje" arg2="${platform.type}" casesensitive="false"/>
</condition>
</target>
<target name="savaje-init" depends="savaje-pre-init" if="savaje-platform.trigger">
<property name="savaje.application.uid" value="TBD"/>
<condition property="savaje.bundle.base.invalid" value="true">
<or>
<equals arg1="${savaje.bundle.base}" arg2="" trim="true"/>
<contains string="${savaje.bundle.base}" substring="$${savaje.bundle.base"/>
</or>
</condition>
<condition property="savaje.unsupported.main" value="true">
<or>
<equals arg1="${main.class.applet}" arg2="true"/>
</or>
</condition>
<condition property="savaje.icon.invalid" value="true">
<or>
<isset property="no.application.uid"/>
<contains string="${savaje.application.icon}" substring="$${"/>
<equals arg1="${savaje.application.icon}" arg2="" trim="true"/>
</or>
</condition>
<property name="jnlp.dist" value="${build.dir}/jnlp/bundle.jnlp"/>
<property name="deployment.dir" location="${dist.dir}"/>
<patternset id="deployment.patternset">
<include name="bundle.jnlp"/>
<include name="bundle.policy"/>
<include name="lib/*"/>
</patternset>
</target>
<!--sjmc-init-->
<target name="sjmc-pre-init" if="cdc-platform.trigger">
<condition property="sjmc-platform.trigger">
<equals arg1="sjmc" arg2="${platform.type}" casesensitive="false"/>
</condition>
</target>
<target name="sjmc-init" depends="sjmc-pre-init" if="sjmc-platform.trigger"/>
<!--ojec-init-->
<target name="ojec-pre-init" if="cdc-platform.trigger">
<condition property="ojec-platform.trigger">
<equals arg1="ojec" arg2="${platform.type}" casesensitive="false"/>
</condition>
</target>
<target name="ojec-init" depends="ojec-pre-init" if="ojec-platform.trigger"/>
<!--cdc-hi-init-->
<target name="cdc-hi-pre-init" if="cdc-platform.trigger">
<condition property="cdc-hi-platform.trigger">
<equals arg1="cdc-hi" arg2="${platform.type}" casesensitive="false"/>
</condition>
</target>
<target name="cdc-hi-init" depends="cdc-hi-pre-init" if="cdc-hi-platform.trigger"/>
<!--nokiaS80-init-->
<target name="nokiaS80-pre-init" if="cdc-platform.trigger">
<condition property="nokiaS80-platform.trigger">
<equals arg1="nokiaS80" arg2="${platform.type}" casesensitive="false"/>
</condition>
</target>
<target name="nokiaS80-init" depends="nokiaS80-pre-init" if="nokiaS80-platform.trigger">
<property name="j9.dist" location="${build.dir}/j9/NOKIA.j9"/>
<property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
<condition property="nokia.icon.invalid">
<or>
<contains string="${nokiaS80.application.icon}" substring="$${"/>
<equals arg1="${nokiaS80.application.icon}" arg2="" trim="true"/>
</or>
</condition>
<property name="deployment.dir" location="${dist.dir}"/>
<patternset id="deployment.patternset">
<include name="${dist.jar}"/>
</patternset>
</target>
<!--init-->
<target name="pre-init"/>
<target name="post-init"/>
<target name="init" depends="pre-init,load-properties,basic-init,cldc-init,cdc-init,semc-init,savaje-init,sjmc-init,ojec-init,cdc-hi-init,nokiaS80-init,post-init"/>
<!--conditional clean-->
<target name="conditional-clean-init">
<uptodate property="no.clean.before.build" targetfile="${build.dir}/.timestamp">
<srcfiles dir="nbproject">
<include name="project.properties"/>
<include name="build-impl.xml"/>
</srcfiles>
</uptodate>
</target>
<target name="conditional-clean" depends="init,conditional-clean-init" unless="no.clean.before.build" description="Clean project in case its meta information has changed.">
<antcall target="do-clean" inheritall="true" inheritrefs="true"/>
</target>
<!--deps-jar-->
<target name="deps-jar" depends="conditional-clean" unless="no.deps"/>
<!--preprocess-->
<target name="pre-preprocess"/>
<target name="do-preprocess" unless="no.preprocess">
<fail unless="preprocessed.dir">Must set preprocessed.dir</fail>
<property name="abilities" value=""/>
<property name="debug.level" value="debug"/>
<mkdir dir="${preprocessed.dir}"/>
<echo message="ignore me" file="${build.dir}/.timestamp"/>
<nb-prep destdir="${preprocessed.dir}" preprocessfor="${config.active.name},${abilities},DebugLevel=${debug.level}" encoding="${javac.encoding}">
<fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated}"/>
</nb-prep>
<copy todir="${preprocessed.dir}">
<fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
</copy>
<nb-overrideproperty name="buildsystem.baton" value="${preprocessed.dir}"/>
</target>
<target name="post-preprocess"/>
<target name="preprocess" depends="deps-jar,pre-preprocess,do-preprocess,post-preprocess" description="Preprocess project sources."/>
<!--compile-->
<target name="pre-compile"/>
<target name="do-compile">
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
<mkdir dir="${build.classes.dir}"/>
<javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" destdir="${build.classes.dir}" srcdir="${buildsystem.baton}" bootclasspath="${platform.bootclasspath}" encoding="${javac.encoding}">
<classpath>
<path path="${libs.classpath}"/>
</classpath>
</javac>
<copy todir="${build.classes.dir}">
<fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
</copy>
<nb-overrideproperty name="buildsystem.baton" value="${build.classes.dir}"/>
</target>
<target name="extract-libs" description="Extracts all bundled libraries.">
<mkdir dir="${build.classes.dir}"/>
<nb-extract dir="${build.classes.dir}" excludeManifest="true" classpath="${libs.classpath}" excludeclasspath="${extra.classpath}"/>
</target>
<target name="post-compile"/>
<target name="compile" depends="preprocess,pre-compile,extract-libs,do-compile,post-compile" description="Compile project classes."/>
<!--compile-single-->
<target name="pre-compile-single"/>
<target name="do-compile-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<mkdir dir="${build.classes.dir}"/>
<javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" srcdir="${buildsystem.baton}" destdir="${build.classes.dir}" bootclasspath="${platform.bootclasspath}" includes="${javac.includes}" encoding="${javac.encoding}">
<classpath>
<path path="${libs.classpath}"/>
</classpath>
</javac>
</target>
<target name="post-compile-single"/>
<target name="compile-single" depends="preprocess,pre-compile-single,do-compile-single,post-compile-single" description="Compile selected project classes."/>
<!--proguard-->
<target name="proguard-init" description="Up-to-date check before obfuscation.">
<property name="obfuscation.level" value="0"/>
<condition property="no.obfusc">
<or>
<equals arg1="${obfuscation.level}" arg2="0"/>
<uptodate targetfile="${obfuscator.destjar}">
<srcfiles dir="${buildsystem.baton}"/>
</uptodate>
</or>
</condition>
<uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
<srcfiles dir="${buildsystem.baton}"/>
</uptodate>
</target>
<target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
<fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
<nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
</target>
<target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
<fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
<fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
<fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
<property name="obfuscator.classpath" value=""/>
<dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
<dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
<mkdir dir="${obfuscator.srcjar.dir}"/>
<mkdir dir="${obfuscator.destjar.dir}"/>
<jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
<property name="obfuscation.custom" value=""/>
<nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
<mkdir dir="${obfuscated.classes.dir}"/>
<unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
<nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
</target>
<!--obfuscate-->
<target name="pre-obfuscate"/>
<target name="post-obfuscate"/>
<target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>
<!--lwuit-build-->
<import file="lwuit.xml" optional="true"/>
<target name="-lwuit-check">
<condition property="lwuit.allowed">
<and>
<available file="nbproject/lwuit.xml"/>
<isset property="is.mesdk_lwuit"/>
</and>
</condition>
</target>
<target name="-pre-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
<target name="-lwuit-build" depends="-lwuit-check" if="lwuit.allowed">
<antcall target="lwuit_build"/>
</target>
<target name="-post-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
<target name="lwuit-build" depends="-lwuit-check,-pre-lwuit-build, -lwuit-build, -post-lwuit-build" if="lwuit.allowed"/>
<!--preverify-->
<target name="pre-preverify"/>
<target name="do-preverify" if="cldc-platform.trigger">
<fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>
<mkdir dir="${preverify.sources.dir}"/>
<copy todir="${preverify.sources.dir}">
<fileset dir="${buildsystem.baton}" includes="**/*.class"/>
</copy>
<mkdir dir="${preverify.classes.dir}"/>
<nb-preverify srcdir="${preverify.sources.dir}" destdir="${preverify.classes.dir}" classpath="${platform.bootclasspath}:${extra.classpath}" configuration="${platform.configuration}" platformhome="${platform.home}" platformtype="${platform.type}" commandline="${platform.preverifycommandline}"/>
<copy todir="${preverify.classes.dir}">
<fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
</copy>
<nb-overrideproperty name="buildsystem.baton" value="${preverify.classes.dir}"/>
</target>
<target name="post-preverify"/>
<target name="preverify" depends="obfuscate,lwuit-build,pre-preverify,do-preverify,post-preverify" description="Preverify project classes."/>
<!--set-password-->
<target name="set-password-init">
<property name="sign.enabled" value="false"/>
<condition property="skip-sign-keystore-password-input">
<or>
<isfalse value="${sign.enabled}"/>
<and>
<isset property="sign.keystore"/>
<isset property="sign.keystore.password"/>
<not>
<equals arg1="${sign.keystore}" arg2="" trim="true"/>
</not>
<not>
<equals arg1="${sign.keystore.password}" arg2="" trim="true"/>
</not>
</and>
</or>
</condition>
<condition property="skip-sign-alias-password-input">
<or>
<isfalse value="${sign.enabled}"/>
<and>
<isset property="sign.keystore"/>
<isset property="sign.alias"/>
<isset property="sign.alias.password"/>
<not>
<equals arg1="${sign.keystore}" arg2="" trim="true"/>
</not>
<not>
<equals arg1="${sign.alias}" arg2="" trim="true"/>
</not>
<not>
<equals arg1="${sign.alias.password}" arg2="" trim="true"/>
</not>
</and>
</or>
</condition>
</target>
<target name="set-keystore-password" if="netbeans.home" unless="skip-sign-keystore-password-input">
<nb-enter-password keystore="${sign.keystore}" passwordproperty="sign.keystore.password"/>
</target>
<target name="set-alias-password" if="netbeans.home" unless="skip-sign-alias-password-input">
<nb-enter-password keystore="${sign.keystore}" keyalias="${sign.alias}" passwordproperty="sign.alias.password"/>
</target>
<target name="set-password" depends="set-password-init,set-keystore-password,set-alias-password"/>
<!--create JAD-->
<target name="add-configuration" unless="contains.manifest.configuration">
<nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
</nb-output>
<nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
</nb-output>
</target>
<target name="add-profile" unless="contains.manifest.profile">
<nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
</nb-output>
<nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
</nb-output>
</target>
<target name="create-jad" if="cldc-platform.trigger">
<fail unless="dist.jad">Must set dist.jad</fail>
<mkdir dir="${build.dir}"/>
<dirname file="${dist.dir}/${dist.jad}" property="dist.jad.dir"/>
<mkdir dir="${dist.jad.dir}"/>
<condition property="evaluated.manifest.apipermissions" value="${manifest.apipermissions}">
<not>
<equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
</not>
</condition>
<condition property="evaluated.manifest.pushregistry" value="${manifest.pushregistry}">
<not>
<equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
</not>
</condition>
<condition property="contains.manifest.configuration">
<contains substring="MicroEdition-Configuration: " string="${manifest.others}"/>
</condition>
<condition property="contains.manifest.profile">
<contains substring="MicroEdition-Profile: " string="${manifest.others}"/>
</condition>
<property value="" name="evaluated.manifest.apipermissions"/>
<property value="" name="evaluated.manifest.pushregistry"/>
<property name="manifest.jad" value=""/>
<property name="manifest.manifest" value=""/>
<nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.jad}</nb-output>
<nb-output file="${manifest.build.file}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.manifest}</nb-output>
<antcall target="add-configuration" inheritall="true" inheritrefs="true"/>
<antcall target="add-profile" inheritall="true" inheritrefs="true"/>
<property name="manifest.available" value="true"/>
</target>
<!--do-extra-libs-->
<target name="do-extra-libs" if="extra.classpath">
<property name="dist.lib.dir" value="${dist.dir}/lib"/>
<mkdir dir="${dist.lib.dir}"/>
<copy todir="${dist.lib.dir}">
<path path="${extra.classpath}"/>
<flattenmapper/>
</copy>
</target>
<!--nokiaS80-manifest-->
<target name="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger">
<fail message="Main class is not set!">
<condition>
<equals arg1="${main.class}" arg2="" trim="true"/>
</condition>
</fail>
<mkdir dir="${build.dir}/j9"/>
<taskdef name="j9builder" classname="org.netbeans.modules.j2me.cdc.project.J9Builder" classpath="${libs.cdc-ant-utils.classpath}"/>
<j9builder jvmargs="${run.jvmargs}" mainclass="${main.class}" args="${application.args}" home="${platform.home}" dist="${j9.dist}" id="NOKIA" platform="${platform.type}" xlet="${main.class.xlet}" applet="${main.class.applet}" jarname="${dist.jar}"/>
<copy file="${manifest.file}" tofile="${manifest.build.file}" failonerror="false"/>
<property name="manifest.available" value="true"/>
<loadfile property="nokia.manifest.j9" srcFile="${j9.dist}"/>
</target>
<target name="nokiaS80-prepare-manifest" depends="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger" unless="nokia.icon.invalid">
<pathconvert property="logo.icon.name" pathsep=" ">
<path path="${nokiaS80.application.icon}"/>
<chainedmapper>
<flattenmapper/>
<globmapper from="*" to="*"/>
</chainedmapper>
The error says class file is missing, you can try to clean and build.
-
I am having trouble in JDeveloper 11.1.1.2.0 with Make on a simple composite project that is designed to invoke NotificationServices. An attempt to build the project fails with a classNotFoundException in the ant build (the log outputs are below).
I have tried adding other libraries (e.g. Commons Logging 1.0.4 and Commons Digester 1.7) on the project classpath, but that just leads to other classNotFoundExceptions - and I do not believe this is the right approach.
Is there some setting or step I am missing?
------------------------------- SOA Log -------------------------------
Buildfile: C:\Oracle\Middleware11_1_1_2_0\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite : 'H:\JDeveloper\phase1\Notification_Application\Notifications\composite.xml'
BUILD FAILED
C:\Oracle\Middleware11_1_1_2_0\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : H:\JDeveloper\phase1\Notification_Application\Notifications\SCA-INF\classes\scac.log for errors
Total time: 1 second
------------------------------- scac.log -------------------------------
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: oracle.soa.scac.ValidateComposite. Program will exit.
Exception in thread "main"
The following libraries are on the project classpath -
SOA Designtime
SOA Runtime
BPEL Runtime
Mediator Runtime
MDS Runtime
Edited by: user3653687 on Mar 9, 2011 4:30 PMAs mentioned earlier, I have tried adding several jars (with each iteration trying another...) without resolving the issue.
If I put all libraries on the path, it compiles - but throwing the kitchen sink at it doesn't seem like the right approach.
This leads me to believe that JDeveloper does not seem to provide the correct set in the template for a SOA project.
Do you know the list of jars/libraries that are required to develop a simple composite that invokes the EMail NotificationService?
Here's the log from adding the Oracle XML Parser v2 library:
Mar 9, 2011 5:06:04 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: commonj/sdo/helper/HelperContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
at org.apache.commons.digester.Rule.begin(Rule.java:152)
at org.apache.commons.digester.Digester.startElement(Digester.java:1286)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at oracle.fabric.composite.Parser.parseComposite(Parser.java:128)
at oracle.soa.scac.ValidateComposite.loadComposite(ValidateComposite.java:804)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:533)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:223)
Caused by: java.lang.ClassNotFoundException: commonj.sdo.helper.HelperContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
Maybe you are looking for
-
F4 help for the batch field in VL02N transaction
We have upgraded our system from 4.6 to ecc 6.0 .In 4.6 the f4 help for the batch had " Batch selection via plant/Material/Storage location/Batch " which is not there in ECC 6.0. Please tell us the procedure to add in the existing search help H_MCHA
-
How to copy Shape from illustrator CC to Photoshop CC?
I want to cope Shape from illustrator CC to Photoshop CC, however I found when I copy the Shape from illustrator and paste it in Photoshop, the style of Shape has changed. like the color changed to the foreground color of Photoshop , and the stroke a
-
Macbook pro connected to network but no internet connection
Hey all, i have a Macbook pro, running on OS X 10.6.8, i made a software update, where a java update was made, an HP printer update, a Itunes ipdate and a Macbook Pro SMC firmware update 1.6. Since then, i cant connect to the internet. I ran network
-
Display Backlight Troubleshooting
I have an Early 2011 13 inch MacBook Pro Model #A1278 running Mavericks. There's a bit of background information that I've got for my problem. A couple of months ago I suspected that some water might have gotten into my machine and fried the logic bo
-
Repricing an existing Sales Order
Is there any way to make SBO reprice an existing sales order? For example, the Price LIst is updated and I want all existing open Sales Orders to be repriced according to the new Price LIst.