A script for nice program&plasmoid compiling
So I came up with a nice (IMO) idea today - there are many people on kde-look and kde-apps who ask "I have xxx, cannot build, what should I install" and most of the time, the author does not have the same distro, and it's not easy for him to guess the packages' names, so my idea is as follows:
A script which:
1)Ask a user which distro they have (or even better, detect it automatically, but I doubt it's possible)
2)Has a list of required development kde4 packages for this certain distro
3)Does a local package search to see if they are already present
4)If all/some of them are missing, automatically install them and proceed to installing
Of course this would require some contributions from other distros' maintainers, so that we know what's the command to get a package list, to install the package, packages' names etc.
It would be great to support some major distros like:
*opensuse
*arch
*arch kdemod
*kubuntu
*fedora
*pardus
*mandriva
have I missed something ? ;P
What d'you think?
PS.: A script I use to build plasmoid and kde4 apps, but only works provided one already has required development packages :
http://pastebin.ca/1545638
Nice in theory, but if people are building things from source they should know they need the development libraries. More often than not, I would like those people to wait for someone knowledgeable to create a package for that distro for them.
But if you want to continue on this, I would say take a look at interfacing with PackageKit since the cross distro package work is already done. All you would need is the list for each one to look for.
Similar Messages
-
NEED a java coder to help with a script for a programs of mine.
I play a game, very competitively, and need someone to make and compile a script for me. I am willing to pay upwards of 100 USD for this script made to MY standards. There will be a lot of work involved...Probably 12 hours studying my game and the purpose of the script(s). I will be buying 2-3 scripts, at roughly 50-100 USD each, depending on the quality. I will transfer the money via paypal, or other means if we can reach an agreement.
Please IM me at Chadtrapier on AIM or send an email to [email protected]
Or...Add me on MSN - [email protected]
We can reach an agreement with these scripts...
Thank you, I will also check this thread, so reply if you would like.
~ChadUmmm. Do you think that's a lot of money or something? Think in the range of 40-60 per hour. And if you're talking about warcraft I don't think they java hooks to make bots. I think you need to figure out what your problem is first and maybe learn to code them yourself.
-
Missing STARTUP script for upgrade program
Hi Experts,
We are performing a upgrade from 4.7 to ERP6. From the documentation, it mentioned starting the upgrade program using the STARTUP script on the upgrade master. But I was unable to locate this STARTUP file on the upgrade master that is shipped to us.
We are using SAP ERP 6.0 upgrade master (D51033520). May I know where can I get this STARTUP program?
Thanks in advance,
Tzyy MingHi Lee,
You have to follow below command to run upgrade program:
1) Go to upgrade directory
2) Then run /<DVD mount directory>/PREPARE
3) Then you can run PREPARE from here.
Once PREPARE finishes. You can run upgrade assistant from upgrade directory:
Run java -cp <upgrade directory>/ua/ua.jar UaServer
When upgrade assistant server console shows you Ready
Then run java -cp <UaGuiDir>\uagui.jar UaGui to start upgrade GUI.
Thanks
Sunny -
Client program not compiling?
Hi
I am using Weblogic server 8.1 for EJB applications.
I deployed simple session ejb program,i successfully deployed ,but client program not compiling it doesn't take home and remote interface.
How to set classpath for client program,before compiling a client.
for example i had client in this dir
D:\ejb\
ejbclient.jar
client.java
byeHi,
Before running the ejb client we need to follow the steps as given below.
1)set the weblogic environment using the setWLSEnv
2)set the classpath for ejb(home,remote and bean).
3)run the client program
Note:To set the classpath for the ejb
set classpath=d:\ejb;.; %classpath%
Regards
Anilkumar kari -
Shell script for batch compilation of forms 10g on AIX 5.3L AS
Hi All,
Can anybody provide me the Shell script for batch compilation of forms 10g and reports 10g on AIX 5.3L AS?
Regards,
SAMHi Alex,
I tried with the below script as well as the one you had posted.
ORACLE_HOME=/opt/oracle/OraHome_3
export ORACLE_HOME
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/jdk/jre/bin:$ORACLE_HOME/jdk/jre/bin/cla
ssic:$LIBPATH
export LIBPATH
cd ../forms
for i in `ls *.pll`
do
echo Compiling Library $i ....
$ORACLE_HOME/bin/frmcmp module=$i userid=mydbuser/mydbuser@mydb
batch=yes module_type=library
compile_all=yes window_state=minimize
done
export ORACLE_HOME=/opt/oracle/OraHome_3
export ORACLE_TERM=vt220
export LD_LIBRARY_PATH=/opt/oracle/OraHome_3/lib:/opt/oracle/OraHome_3/jdk/jre/l
ib:/opt/oracle/OraHome_3/jdk/jre/lib/i386:
cd ../forms
for i in `ls *.pll`
do
echo "Compiling Library $i ...."
/opt/oracle/OraHome_3/bin/frmcmp module_type=form userid=mydbuser/mydbuser@mydb
module=$i batch=yes compile_all=no
window_state=minimize upgrade=no
done
echo "PLL Compilation done"
But there was a same kind of error thst turning up all the time.
Compiling Library Agf.pll ....
Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
FRM-10043: Cannot open file.
Form not created
I hence updated the permissions on the pll as below
-rwxrwxrwx 1 oracle oinstall 335872 May 19 16:31 Agf.pll
But the problem is still persisting.
My environment details are as below.
I am working on Win XP machine. Connected to my AS via telnet and xmanager. I have set my DISPLAY to my local IP.
Is there any thing more that I need to do? If so then let me know.
Regards,
SAM -
I want to compile java for *.exe program?
I want to compile java for *.exe program?
ThanksI want to compile java for *.exe program?
ThanksYou're welcome, but the correct answer was allready
given in previous response.oops, late again, must edit.
You're welcome, but the correct answer was allready given in the first response. -
How to attach print program and sap script for F150 transaction
How to attach print program and Z sap script for F150 transaction
Hi,
you can find the customization for dunning in transaction SPRO under this path: Financial Accounting->Accounts Receivable and Accaounts Payable->Business Transactions->Dunning.
Kostas -
Can you provide good books for SAP Scripts and Dialog programming?
Names of the books for Scripts and dilaog programming.
Hi,
pls chk this.
http://www.sap-press.de/katalog/buecher/titel/gp/titelID-667?GalileoSession=74564414A2Qf67.aL0Q
Have also a look at
http://www.amazon.com/gp/product/1893570142/102-2992344-7930525?v=glance&n=283155&n=507846&s=books&v=glance
for dialog prgrming.
pls chk these links.
Refer to the documentation @
http://help.sap.com/saphelp_47x200/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
Can also have a look at this link
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
Check this link for sample code.
http://www.sapgenie.com/abap/example_code.htm
http://www.sap-img.com/abap.htm
also,
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
rgds
anver
if hlped pls mark points
Message was edited by: Anversha s -
Revision: 2877
Author: [email protected]
Date: 2008-08-18 18:15:18 -0700 (Mon, 18 Aug 2008)
Log Message:
Added a "flex4-compile" target in the top-level Ants script for easily recompiling flex4.swc. It is similar to "framework-compile" and "airframework-compile".
Reviewer: N/A
Bugs: -
QA: No
Doc: No
Modified Paths:
flex/sdk/trunk/build.xmlIn the default php.ini is set open_basedir which limits work with php only to few directories (and directories bellow them). There is set /srv/http, /home,/tmp and /usr/share/pear by default.
To allow your vhost you should add /data/www or set empty value. -
How to include jar files in ant script for compiling
i am trying to manually include j2ee.jar for compiling, here is the entire build.xml:
<?xml version="1.0"?>
<!--PRIMARY build file for all of dev modual -->
<project name="com" default="compile.all" basedir="../">
<path id="project.class.path">
<pathelement location="lib/"/>
<pathelement path="${java.class.path}/"/>
<pathelement path="${additional.path}"/>
<pathelement path="${CLASSPATH}" />
<pathelement path="${classpath}" />
</path>
<property name="SRCDIR" value="${basedir}/java" />
<property name="DSTDIR" value="${basedir}/classes" />
<property name="LIBDIR" value="${basedir}/libs" />
<property name="JARDIR" value="${basedir}/jars" />
<property name="DOCDIR" value="${basedir}/docs" />
<property name="ORACLE.JAR" value="${LIBDIR}/orcl/8.1.7/classes12.zip" />
<property name="JUNIT.JAR" value="${LIBDIR}/junit/3.7/junit.jar" />
<property name="CLASSPATH" value="z:/tools/java;${SRCDIR};${DSTDIR};${JUNIT.JAR};${ORACLE.JAR}" />
<property name="POLICYFILE" value="${SRCDIR}/com/leader/cti/main/ctimain.policy" />
<property name="DEBUG_FLAG" value="on" />
<property name="OPTIMIZE_FLAG" value="off" />
<property name="DEPRECATION_FLAG" value="off" />
<property name="RMI_VERSION" value="1.2" />
<!-- builds everything -->
<target name="compile.all">
<antcall target="compile.cti"/>
</target>
<target name="compile.vbsf" description="Compiles files for vbsf.jar.">
<mkdir dir="${DSTDIR}"/>
<copy file="${SRCDIR}/VBSFELK5UD3SWQ2E.class" todir="${DSTDIR}"/>
<javac srcdir="${SRCDIR}" destdir="${DSTDIR}" classpath="${CLASSPATH}" debug="${DEBUG_FLAG}" deprecation="${DEPRECATION_FLAG}" optimize="${OPTIMIZE_FLAG}" >
<include name="com/objectmatter/**/*.java" />
</javac>
</target>
<target name="compile.persist" description="Compiles files for persist.jar." depends="compile.vbsf" >
<javac srcdir="${SRCDIR}" destdir="${DSTDIR}" debug="${DEBUG_FLAG}" deprecation="${DEPRECATION_FLAG}" optimize="${OPTIMIZE_FLAG}" >
<classpath refid="project.class.path"/>
<include name="com/leader/persist/**/*.java" />
<include name="testcom/leader/persist/**/*.java" />
</javac>
</target>
<target name="compile.cti" description="Compiles files for both cti jars." depends="compile.persist,compile.cti.only" />
<target name="compile.cti.only" description="Compiles files for both cti jars." >
<javac srcdir="${SRCDIR}" destdir="${DSTDIR}" debug="${DEBUG_FLAG}" deprecation="${DEPRECATION_FLAG}" optimize="${OPTIMIZE_FLAG}" >
<classpath refid="project.class.path"/>
<include name="com/leader/cti/**/*.java" />
<include name="testcom/leader/cti/**/*.java" />
</javac>
<rmic classpath="${CLASSPATH}" base="${DSTDIR}" stubversion="${RMI_VERSION}" >
<include name="com/leader/cti/main/RMICTIService.class" />
<include name="com/leader/cti/main/RMIConferenceCall.class" />
<include name="com/leader/cti/main/RMIConferenceCallReservation.class" />
<include name="com/leader/cti/main/FakeRmiCtiService.class" />
<include name="com/leader/cti/main/FakeRmiConferenceCall.class" />
<!--include name="com/leader/cti/main/DerivedQueueReceiver.class"/-->
</rmic>
</target>
<!-- build all dev jars -->
<target name="jar.all"
description="Create all jar files"
depends="jar.vbsf, jar.persist, jar.jeti, jar.service"/>
<!-- build vbsf.jar -->
<target name="jar.vbsf"
description="Create client distribution jar for vbsf code"
depends="compile.vbsf" >
<mkdir dir="${JARDIR}" />
<jar jarfile="${JARDIR}/vbsf.jar"
basedir="${DSTDIR}" >
<include name="VBSFELK5UD3SWQ2E.class"/>
<include name="com/objectmatter/**/*.class" />
</jar>
</target>
<!-- build persist.jar -->
<target name="jar.persist"
description="Create client distribution jar"
depends="compile.vbsf,compile.persist" >
<mkdir dir="${JARDIR}" />
<jar jarfile="${JARDIR}/persist.jar"
basedir="${DSTDIR}" >
<include name="com/leader/persist/**/*.class" />
</jar>
</target>
<!-- build jeti.jar -->
<target name="jar.jeti"
description="Create client distribution jar"
depends="compile.vbsf,compile.persist,compile.cti" >
<mkdir dir="${JARDIR}" />
<jar jarfile="${JARDIR}/jeti.jar"
basedir="${DSTDIR}" >
<include name="com/leader/cti/rmiint/*" />
<include name="com/leader/cti/main/*Stub*" />
<include name="com/leader/cti/util/**" />
<include name="com/leader/cti/vru/*" />
<include name="com/leader/cti/interfaces/*" />
<include name="com/leader/cti/history/*" />
<include name="com/leader/cti/autodial/*" />
</jar>
</target>
<!-- build jeti_service.jar -->
<target name="jar.service"
description="Create the jar file for the service"
depends="compile.vbsf,compile.persist,compile.cti" >
<mkdir dir="${JARDIR}" />
<copy file="${basedir}/vbsf/cti.schema" tofile="${DSTDIR}/cti.schema" />
<copy file="${basedir}/vbsf/cti.schema" tofile="/tools/java/com/leader/osapplication/persist/cti.schema" />
<jar jarfile="${JARDIR}/jeti_service.jar"
basedir="${DSTDIR}" >
<include name="com/leader/cti/**" />
<include name="cti.schema" />
</jar>
</target>
<!-- build jeti.jar, jeti_service.jar -->
<target name="jar.cti"
description ="Create client/server jars for cti"
depends="jar.jeti,jar.service" />
<!-- clean everything. -->
<target name="clean">
<delete dir="${DSTDIR}" />
<delete dir="${JARDIR}" />
<delete dir="${DOCDIR}" />
</target>
<target name="clean.cti" description="clean cti class files (not jars)">
<delete dir="${DSTDIR}/com/leader/cti" />
<delete dir="${DSTDIR}/testcom/leader/cti" />
</target>
<!-- Run the gui CTI tests -->
<target name="test_cti_gui">
<java classname="junit.swingui.TestRunner" classpath="${CLASSPATH}" fork="yes">
<arg value="testcom.leader.cti.CTIPackageTest"/>
<sysproperty key="leader.unique_number_generator.file" value="unique_number_generator_file_test" />
<sysproperty key="vbsf.repository" value="/tools/java/dev/vbsf" />
<sysproperty key="vbsf.enableGlobalCaching" value="false" />
</java>
</target>
<target name="test.cti.gui"
depends="test_cti_gui" />
<!-- Run the text version of CTI tests -->
<target name="test">
<java classname="junit.textui.TestRunner" classpath="${CLASSPATH}" fork="yes">
<arg value="testcom.leader.cti.CTIPackageTest"/>
<sysproperty key="leader.unique_number_generator.file" value="unique_number_generator_file_test" />
</java>
</target>
<!-- Run CTI service -->
<target name="run.service"
description="run the service normally"
depends="compile.all" >
<java classname="com.leader.cti.main.CTIMain"
classpath="${CLASSPATH}"
fork="yes" >
<sysproperty key="java.security.policy"
file="${POLICYFILE}" />
<sysproperty key="config.dir"
value="${SRCDIR}/com/leader/cti/main/" />
</java>
</target>
<!-- Run fake CTI service -->
<target name="run.service.fake"
description="run the fake service"
depends="compile.all" >
<java classname="com.leader.cti.main.FakeCtiMain"
classpath="${CLASSPATH}"
fork="yes" >
<sysproperty key="java.security.policy"
file="${POLICYFILE}" />
<sysproperty key="config.dir"
value="${SRCDIR}/com/leader/cti/main/" />
</java>
</target>
<!-- Run CTI service emulator -->
<target name="run.service.emulator"
description="run the service normally"
depends="compile.all" >
<java classname="com.leader.cti.main.CTIMain"
classpath="${CLASSPATH}"
fork="yes" >
<sysproperty key="java.security.policy"
file="${POLICYFILE}" />
<sysproperty key="config.dir"
value="${SRCDIR}/com/leader/cti/main/" />
<sysproperty key="vru.propertyfile"
value="emulator.properties" />
</java>
</target>
<!-- Runs the CTI service and emulator -->
<target name="run.emulator"
description="run the service and the emulator"
depends="compile.all" >
<java classname="testcom.leader.cti.vru.emulator.VRUEmulator"
classpath="${CLASSPATH}"
fork="yes" />
</target>
<!-- Runs the gui CONCALL testss -->
<target name="run.gui"
description="run the concall test gui"
depends="compile.all" >
<java classname="testcom.leader.cti.main.SwingClient"
classpath="${CLASSPATH}"
fork="yes" >
<sysproperty key="java.security.policy"
file="${POLICYFILE}" />
</java>
</target>
<!-- Fires the maptool up. Defaults to CTI`s Schema file. -->
<target name="maptool" >
<java classname="com.objectmatter.bsf.mapping.toolgui.MapTool"
fork="yes"
classpath="${CLASSPATH}" >
<sysproperty key="vbsf.repository" value="${basedir}/vbsf" />
</java>
</target>
<target name="javadoc_cti">
<mkdir dir="${basedir}/docs"/>
<javadoc packagenames="com.leader.*" classpath="${CLASSPATH}" sourcepath="${SRCDIR}" destdir="${DOCDIR}\cti" author="true" version="true" use="true" windowtitle="Leader CTI API" doctitle="Leader Technologies, Inc" bottom="Copyright © 2005 Leader Technologies Incorporated.<BR>All Rights Reserved." maxmemory="128m">
<group title="Leader CTI Packages" packages="com.leader*"/>
</javadoc>
</target>
<target name="javadoc_vbsf">
<mkdir dir="${basedir}/docs"/>
<javadoc packagenames="com.objectmatter.* " classpath="${CLASSPATH}" sourcepath="${SRCDIR}" destdir="${DOCDIR}" author="true" version="true" use="true" windowtitle="VBSF by ObjectMatter API" doctitle="Leader Technologie, Inc" bottom="Copyright © 2005 Leader Technologies Incorporated.<BR>All Rights Reserved." maxmemory="128m">
<group title="Objectivity Packages" packages="com.objectmatter.*"/>
</javadoc>
</target>
</project>
i am getting this:
compile.all:
compile.vbsf:
compile.persist:
compile.cti.only:
Compiling 1 source file to C:\Projects\Leader\dev\classes
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:14: package javax.jms does not exist
import javax.jms.*;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:17: package javax.jms does not exist
import javax.jms.Queue;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:18: package javax.jms does not exist
import javax.jms.JMSException;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:19: package javax.jms does not exist
import javax.jms.Message;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:28: cannot find symbol
symbol: class MessageListener
public abstract class BasicMQReceiverAsyncR implements Runnable, MessageListener
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:44: cannot find symbol
symbol : class QueueConnectionFactory
location: class BasicMQReceiverAsyncR
QueueConnectionFactory queueConnectionFactory = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:45: cannot find symbol
symbol : class QueueConnection
location: class BasicMQReceiverAsyncR
QueueConnection queueConnection = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:46: cannot find symbol
symbol : class QueueSession
location: class BasicMQReceiverAsyncR
QueueSession queueSession = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:48: cannot find symbol
symbol : class QueueReceiver
location: class BasicMQReceiverAsyncR
QueueReceiver queueReceiver = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:49: cannot find symbol
symbol : class TextMessage
location: class BasicMQReceiverAsyncR
TextMessage message = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:406: cannot find symbol
symbol : class QueueConnectionFactory
location: class BasicMQReceiverAsyncR
queueConnectionFactory = (QueueConnectionFactory)
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:408: package javax.jms does not exist
queue = (javax.jms.Queue) jndiContext.lookup(QUEUE_NAME); //queue1 = (javax.jms.Queue)jndiContext.lookup("MyQueue1");
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:433: cannot find symbol
symbol : variable Session
location: class BasicMQReceiverAsyncR
Session.AUTO_ACKNOWLEDGE);
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:447: cannot find symbol
symbol : class JMSException
location: class BasicMQReceiverAsyncR
catch (JMSException e)
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:461: cannot find symbol
symbol : class JMSException
location: class BasicMQReceiverAsyncR
catch (JMSException x)
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:482: cannot find symbol
symbol : class BytesMessage
location: class BasicMQReceiverAsyncR
if (m instanceof BytesMessage)
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:488: cannot find symbol
symbol : class BytesMessage
location: class BasicMQReceiverAsyncR
BytesMessage bytesMsg = (BytesMessage)m;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:488: cannot find symbol
symbol : class BytesMessage
location: class BasicMQReceiverAsyncR
BytesMessage bytesMsg = (BytesMessage)m;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:501: cannot find symbol
symbol : class QueueSession
location: class BasicMQReceiverAsyncR
QueueSession queueSession2 = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:502: cannot find symbol
symbol : class QueueSender
location: class BasicMQReceiverAsyncR
QueueSender queueSender2 = null;
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:510: cannot find symbol
symbol : variable Session
location: class BasicMQReceiverAsyncR
Session.AUTO_ACKNOWLEDGE);
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:514: cannot find symbol
symbol : class BytesMessage
location: class BasicMQReceiverAsyncR
BytesMessage bytesMessage = queueSession.createBytesMessage();
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:523: cannot find symbol
symbol : variable DeliveryMode
location: class BasicMQReceiverAsyncR
DeliveryMode.PERSISTENT,
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:524: cannot find symbol
symbol : variable DEFAULT_PRIORITY
location: class com.leader.cti.vru.Message
Message.DEFAULT_PRIORITY,
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:525: cannot find symbol
symbol : variable DEFAULT_TIME_TO_LIVE
location: class com.leader.cti.vru.Message
Message.DEFAULT_TIME_TO_LIVE);
C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:529: cannot find symbol
symbol : class JMSException
location: class BasicMQReceiverAsyncR
catch (JMSException x)
26 errors
C:\Projects\Leader\dev\java\build.xml:34: The following error occurred while executing this line:
C:\Projects\Leader\dev\java\build.xml:56: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 8 seconds)
my class path is:
.;C:\Projects\Leader\prototype\jms\build\classes;C:\Projects\Leader\dev\libs\persist.jar;C:\Projects\Leader\dev\classes;%OPENJMS_HOME%\lib;%OPENJMS_HOME%\lib\antlr-2.7.2.jar;%OPENJMS_HOME%\lib\castor-0.9.5.jar;%OPENJMS_HOME%\lib\commons-codec-1.3.jar;%OPENJMS_HOME%\lib\commons-collections-2.1.jar;%OPENJMS_HOME%\lib\commons-dbcp-1.2.1.jar;%OPENJMS_HOME%\lib\commons-logging-1.0.4.jar;%OPENJMS_HOME%\lib\commons-pool-1.2.jar;%OPENJMS_HOME%\lib\concurrent-1.3.4.jar;%OPENJMS_HOME%\lib\derby-10.1.1.0.jar;%OPENJMS_HOME%\lib\jdbc-2.0.jar;%OPENJMS_HOME%\lib\jms-1.1.jar;%OPENJMS_HOME%\lib\jndi-1.2.1.jar;%OPENJMS_HOME%\lib\jta-1.0.1.jar;%OPENJMS_HOME%\lib\log4j-1.2.11.jar;%OPENJMS_HOME%\lib\openjms-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\openjms-common-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\openjms-net-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\openjms-tools-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\oro-2.0.8.jar;%OPENJMS_HOME%\lib\spice-jndikit-1.2.jar;%OPENJMS_HOME%\lib\xerces-2.4.0.jar;%OPENJMS_HOME%\lib\xml-apis-1.0.b2.jar;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib
as you can see j2ee.jar is in %J2EE_HOME%\lib, but still doesn't work. can someone help me?<property name="messaging.client.jar.path" value="Location in your local drive" />
<property name="messaging.client.jar.name" value="nameOfYourFile.jar" /> -
Best / most popular software or scripts for adding search function to website?
I'm trying to find a good piece of software or script for implementing a site search function into our website. I am relatively knowledgeable in Dreamweaver and can write CSS and XHTML at the fairly intermediate to advanced level, as well as work with JavaScript and js files, but I don't really know much ASP or "by hand" Java coding. Their are so many scripts and software out there for adding a site search that it's hard to sort through and narrow down. I was hoping to find reviews of the popular ones or "top 10 lists" of some sort that would help me pinpoint a good one, but can't find anything like that. These are the primary needs of the website:
--Has under 50 searchable pages that won't change much and probably won't exceed 50. There are product part numbers and descriptions for some 250-300 part numbers, spread across only 24 of those pages. The remaining pages are important but no part numbers-- About Us, News, Where to Buy, History, Featured Products, etc. The product pages are very much like an online store but we don't sell directly on the site (only thru distributors/reps).
--We are trying to keep the price under about $50, or use a free solution
--The pages are all static XHTML+CSS pages, but our server can run ASP (we have another website for one of our other product line divisions, on the same server, with many more products beyond 1000, which was programmed completely in ASP by an outside company about 4 years ago). We self-host both sites.
--Our server can't run PHP
--The search capabilities need only be rather basic-- a keyword search with a results page that uses the same design template as the rest of the site. It would be nice, but not mandatory, to have a search filter and/or a drop down menu to enable selectively searching only certain parts of the site, or only product/part number search vs. general search, etc. (but again, not mandatory).
--I do have a sitemap page already on it, if that matters or helps
Some of the ones I've found so far that looked the most promising include: Zoom Search Engine (http://www.wrensoft.com/zoom/), Site Search Pro (http://www.site-search-pro.com/), and FX Site Search which is a DW Extension I found in the exchange (http://www.felixone.it/extensions/prod/mxssen.asp)-- (that one looks possibly technically challenging or requiring more ASP skill, though)
Forgive me if there is a better area to post this, if so let me know.For a static site, your options are:
Google ~ http://www.google.com/sitesearch/
Freefind ~ http://www.freefind.com/
Zoom from Wrensoft ~ http://www.wrensoft.com/zoom/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
Help T_T - Program not compiling properly
I'm trying to add a short animation to the source file for a
game that was built by an outside studio. Unfortunately, I can't
seem to get the program to compile correctly: I get tons of errors,
graphics dont diplay properly, etc. I thought perhaps I had just
messed something up with my codes and animations, but even if i try
to compile the original unedited file as a control test, i get the
same problems. I have all the external files, scripts, etc.
None of our scripters are in-house, so there's no one I can
ask about this. I know just enough actionscript to prevent Flash
from exploding into a gooey mass (which is how I ended up getting
tasked with this), but basically my knowledge of flash is limited
to it as an animation program so I'm not really sure if theres some
kind of settings I need to change, specifically need to export as
an .exe (shouldn't be, since the game runs as a .swf), or what.
I know i'm not providing a whole lot of information about the
problem, but thats because I'm not really sure what info is
relevant. Let me know if there's anything people need from me and
I'll get it to you.
Thanks!Just a had brief look, but shouldn't it be:public class TempConversion extends JFrameIf you post code it is a good idea to use the formatting tags:
http://forum.java.sun.com/help.jspa?sec=formatting
Basically the idea is you put [code] at the start of your code and [/code]
at the end. -
Scudmenu -- A dmenu script for use with systemd --user
So a while ago I started using systemd --user to manage my session, and I was pretty happy with how it turned out. However, I use a tiling wm, and sometimes I just want to quickly start or stop something without opening a terminal (say I'm looking at my mail and want to quickly restart offlineimap). Suckless' dmenu program is great, and really good for starting programs in your path.
When I typed in
systemctl --user
that would clear out the completion and just leave it to me to know the units names and everything.
So, I created a script called scudmenu that I bound to a key in my window manager. It opens up two dmenu's in order: the first to get the operation you want to run, and the second to get the unit name.
It would look like this:
Action: [start] stop restart try-restar...
systemctl --user start [dbus] dwm i3...
giving me a nice overview of the units that I have. (the second one actually takes the name of the action you select and uses it for a title)
I've put together an AUR package, scudmenu-git, that will install this to your system. At the moment, there is no configuration and it depends on a specific font, but I will be adding configuration options (such as fonts, colors, and a terminal for the 'status' output) soon. Technically you can just say
font="some-font-*-*-*-*-..." scudmenu
at the moment, but that's a bit annoying.
Last edited by KaiSforza (2013-04-14 01:38:49)You can see the setAttributes() method signature like so:
<cfset whitelist = CreateObject("java", "org.jsoup.safety.Whitelist")>
<cfdump var="#Whitelist.relaxed()#" />
If you run that you will see setAttributes() expects a string and a string array.
addAttributes(java.lang.String, java.lang.String[])
Given that, you need to do something like:
<cfscript> jsoup = CreateObject("java","org.jsoup.Jsoup"); whitelist = CreateObject("java", "org.jsoup.safety.Whitelist"); html="<div style='font-size:24pt;'>This is BIG text</div>. This is an unwanted script: <script>alert('Boo!')</script>.<br>"; myKeys=["style"]; sanitized = jsoup.clean(html, Whitelist.relaxed().addAttributes(":all" , JavaCast("string[]", myKeys))); WriteOutput("<textarea>#sanitized#</textarea>");</cfscript> -
Start up script for EPM 11.1.2 in Unix or Windows...
Is there a sample start up script for starting required services in EPM 11.1.2 ?
I saw that the Program Files item for EPM, has a link to some start up script but
it starts everything and it seems to refer to many scripts and seem complicated.
Is there a simple script for EPM 11 ? In System 9, I used Net Start to start services in a batch file and
used Sleep command between commands to give enough time for the services. But it would be nice
if there is a script which automatically checks to make sure to start the next service only after a dependent service has started.
cheers
ZSimple examples for EPM11.1.2.1 on Windows env.
epmStart.bat
@ECHO OFF
ECHO EPM 11.1.2.1 STARTING / Batch EPM full start script by Antun Kulkov, 2011
ECHO See more at http://silw.blogspot.com
ECHO SQL Server Starting
sc start "MSSQLSERVER"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Oracle Process Manager (ohsInstance)
sc start "OracleProcessManager_ohsInstance1649849633"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (EPM_epmsystem1)
sc start "opmn_EPM_epmsystem1"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (ConfigurationManager)
sc start "OracleEpmSystem_Administratord_oracle_middleware_user_projects_epmsystem1ConfigurationManager"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Hyperion RMI Registry
sc start "Hyperion RMI Registry"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Hyperion Foundation Services - Managed Server
sc start HyS9FoundationServices
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Administration Services - Web Application
sc start HyS9eas
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Integration Services
sc start "Essbase Integration Server"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Provider Services - Web Application
sc start HyS9aps
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Studio Service BPMS
sc start "Hyperion Studio Service BPMS bpms1"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPM Architect - Process Manager
sc start EPMA_Server
waitfor NONEXISTINGSIGNAL /T 30
ECHO Hyperion EPMA Data Synchronizer - Web Application
sc start HyS9EPMADataSynchronizer
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPMA Web Tier - Web Application
sc start HyS9EPMAWebTier
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion CALC Manager - Web Application
sc start HyS9CALC
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Planning - WebHyS9Planning Application
sc start HyS9Planning
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Web Analysis - Web Application
sc start HyS9WebAnalysis
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework
sc start HyS9RaFrameworkAgent
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Financial Reporting - Web Application
sc start HyS9FRReports
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework - Web Application
sc start HyS9RaFramework
waitfor NONEXISTINGSIGNAL /T 5
ECHO ALL DONE!
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle EPM System has been started.
epmStop.bat
@ECHO OFF
ECHO EPM 11.1.2.1 STOPPING / Batch EPM full stop script by Antun Kulkov, 2011
ECHO See more at http://silw.blogspot.com
ECHO Hyperion Web Analysis - Web Application
sc stop HyS9WebAnalysis
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework
sc stop HyS9RaFrameworkAgent
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Financial Reporting - Web Application
sc stop HyS9FRReports
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework - Web Application
sc stop HyS9RaFramework
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Planning - WebHyS9Planning Application
sc stop HyS9Planning
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion CALC Manager - Web Application
sc stop HyS9CALC
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPMA Web Tier - Web Application
sc stop HyS9EPMAWebTier
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPMA Data Synchronizer - Web Application
sc stop HyS9EPMADataSynchronizer
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPM Architect - Process Manager
sc stop EPMA_Server
waitfor NONEXISTINGSIGNAL /T 30
ECHO Hyperion Studio Service BPMS
sc stop "Hyperion Studio Service BPMS bpms1"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Provider Services - Web Application
sc stop HyS9aps
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Integration Services
sc stop "Essbase Integration Server"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Administration Services - Web Application
sc stop HyS9eas
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Foundation Services - Managed Server
sc stop HyS9FoundationServices
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion RMI Registry
sc stop "Hyperion RMI Registry"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (ConfigurationManager)
sc stop "OracleEpmSystem_Administratord_oracle_middleware_user_projects_epmsystem1ConfigurationManager"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (ohsInstance)
sc stop "OracleProcessManager_ohsInstance1649849633"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (EPM_epmsystem1)
sc stop "opmn_EPM_epmsystem1"
waitfor NONEXISTINGSIGNAL /T 10
ECHO SQL Server Stopping
sc stop "MSSQLSERVER"
waitfor NONEXISTINGSIGNAL /T 5
ECHO ALL DONE!
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle EPM System has been stopped. -
just coming from windows,i dont know if you call them apps or programs? im looking for something that will keep track of customers,money they owe,and money they pay.would be nice if it worked with the calendar and phone book but not necessary.thanks
You didn't provide the actual name of the Windows program you are using so that features or prices can be compared. What do you expect to pay for a program, or do you want to use an online system that has monthly fees?
I don't know of any inexpensive programs for the Mac that are specifically set up for Farriers, but there are many database type programs that might be adapted to your needs. GrandTotal, $79 - offers pretty good integration with the Mac Address Book and Calendar (especially if you get it bundled with their TimeLog program for an extra $10) and it also has an iPhone-iPad program that can read open and due invoices you've created with their program.
You could also take a look at Bento, $49 - from FileMaker, which also has a program for iPhone-iPad. They offer some invoice templates that you can download and modify.
Both of these companies offer free trials.
I haven't used either of these products, but I am looking for something with better integration with my iDevices. The Quickbooks Connect program for iPad only works with the Windows version of Quickbooks Pro 2011 and requires a monthly subscription. Windows users are still complaining about it's lack of features so I'll probably pass.
One of my clients has offered to buy my Quickbooks for Mac, and I might take him up on it if the GrandTotal program works out for me. The program is great, but not very nimble on-the-road.
Hope this helps.
Maybe you are looking for
-
Best practice for exporting a dps folio so a third party can work on it?
Hi All, Keen for some thoughts on the best practice for exporting a dps folio, indd files, links and all, so a third party can carry on the work. Is their a better alternative to packaging each individual indd file and sharing the folio through adobe
-
PDF does not automatically open when the PDF is generated
Here are my conditions: Windows 7 Professional 64-bit Abobe Acrobat9 Pro version 9.4.2 "View Adobe PDF results" is checked under Adobe PDF Printing Preferences/Adobe PDF Settings Here is the problem I am facing: When I print a simple text file under
-
Trouble printing black and white
Friends, I'm trying to print black and white on an imac i7, snow leopard, hp premium plus all in one (309g) printer. The prints have a slight purple cast. It is highly noticeable when the prints are placed next to older black and whites printed with
-
Dear all, We know that we cannot configure SCOM agent on Thin Clients . We would like to know if we can set up a SNMP monitor for Thin Client? We are able to discover through ICMP , but not through SNMP. We need to achieve monitor the Thin Clients
-
II want delete all entries in shown by showjobs
Hi, In my local machine, i want delete all entries shown by showjobs ( dveloppemnt suite version 10.1.2.0.2) http://localmachine.domain:8889/reports/rwservlet/showjobs? Thank's in adavance.