How to recompile with zinc?
Hello, i wanted to change the name of the xml file that it saved to so i asked on the forum. A person gave me the editted script below however they also told me that in order for this to work i must recompile it with zinc. I have never worked with zinc before can someone please explain to me how to that, i have zinc 3.0
Thanks
/*ALL THE BUTTONS BELOW ARE MARKED FOR EDITABLE AND DO NOT EDIT ,ALTHOUGH IF YOU KNOW WHAT YOUR DOING
THEN YOU CAN ACTUALY EDIT ANYTHING YOU WANT TO BUT FOR THIS APP TO WORK PROPERLY ONLY EDIT THE APPROPRIATE
ENTRIES..ONCE YOU HAVE MADE YOUR CHANGES COPY AND PASTE THIS WHOLE PAGE OF SCRIPT INTO
THE FIRST FRAME OF THE TIMELINE LET IT OVER RIGHT THE SCRIPT THATS ALREADY THERE.
Button text labels for XML PLAYER*/
///SIDE MENUE BUTTONS\\\
btn1.buttText.buttonText.text ="DOWNLOAD FILES";///DO NOT EDIT
btn2.buttText.buttonText.text ="SYSTEM VOLUME";///DO NOT EDIT
btn3.buttText.buttonText.text ="EDIT XML PLAYLIST";///DO NOT EDIT
btn4.buttText.buttonText.text ="BURN CD";///DO NOT EDIT
btn5.buttText.buttonText.text ="CREATE FOLDER";///DO NOT EDIT
btn6.buttText.buttonText.text ="DELETE FOLDER";///DO NOT EDIT
btn7.buttText.buttonText.text ="OPEN CDROM";///DO NOT EDIT
btn8.buttText.buttonText.text ="OPEN DVDROM";///DO NOT EDIT
btn9.buttText.buttonText.text ="FTP CLIENT";///DO NOT EDIT
btn14.buttText.buttonText.text ="VIEW PLAYLIST";///DO NOT EDIT
btn23.buttText.buttonText.text ="INFO";///DO NOT EDIT
btn25.buttText.buttonText.text ="HELP";///DO NOT EDIT
btn26.buttText.buttonText.text ="MDM HELP";///DO NOT EDIT
///BOTTOM BTNS
btn19.buttText.buttonText.text ="OPEN CD TRAY";///DO NOT EDIT
btn20.buttText.buttonText.text ="CLOSE CD TRAY";///DO NOT EDIT
btn21.buttText.buttonText.text ="OPEN DVD TRAY";///DO NOT EDIT
btn22.buttText.buttonText.text ="CLOSE DVD TRAY";///DO NOT EDIT
///THESE ARE FUNCTIONS THAT CAN BE EDITED BUT ONLY THE ONES MARKED "YOU CAN EDIT THIS PATH" are safe to change
///MY DOWNLOAD FILES
btn1.onRelease = function() {
mdm.Dialogs.BrowseFile.filterList = "MP3 Files|*.mp3";
mdm.System.exec("E:\\My Music\\"); ///Path to download file //YOU CAN EDIT THIS PATH
////SYSTEM VOLUME///DO NOT EDIT
btn2.onRelease = function() {
mdm.System.exec("sndvol32.exe"); ///System volume .exe
////EDIT XML PLAYLIST///DO NOT EDIT
btn3.onRelease = function() {
mdm.System.exec(mdm.System.Paths.programFiles+"Mgamerz\\audiolist2.xml "); ///xml list
////BURN CD//YOU CAN EDIT THIS PATH
btn4.onRelease = function() { ///Add your path here to your burning software nero for example
mdm.System.exec(mdm.System.Paths.programFiles+"Nero\\nero.exe");
////CREATE FOLDER///DO NOT EDIT
btn5.onRelease = function() {
mdm.FileSystem.makeFolderUnicode("C:\\Program Files\\Mgamerz\\Burn"); //Creates a work folder for burning mp3s
////DELETE FOLDER///DO NOT EDIT
btn6.onRelease = function() { ///Deletes work folder if you want to delete it
mdm.FileSystem.deleteFolder("C:\\Program Files\\Mgamerz\\Burn","ask", "Are you sure");
//// OPEN CDROM//YOU CAN EDIT THIS PATH
btn7.onRelease = function() { ///Opens up cdrom drive change the letter to match your pc
mdm.System.exec("I:\\");
////OPEN DVDROM//YOU CAN EDIT THIS PATH
btn8.onRelease = function() {////Opens up dvdrom drive change the letter to match your pc
mdm.System.exec("I:\\");
////FTP CLIENT//YOU CAN EDIT THIS PATH
btn9.onRelease = function() {///File path to your ftp software (here I use front page )
mdm.System.exec(mdm.System.Paths.programFiles+"Microsoft Office\\Office10\\Shortcut Bar\\Office\\Microsoft FrontPage");
///Top header buttons
////C:DRIVE///DO NOT EDIT
btn10.onRelease = function() {////Opens up c:drive for browsing
mdm.System.exec(mdm.System.Paths.programFiles+"\\");
/*btn11.onRelease = function() { ////Opens up D:drive for browsing
mdm.System.exec("D:\\"); //YOU CAN EDIT THIS PATH
////MY DOCUMENTS///DO NOT EDIT
btn12.onRelease = function() { ///Opens up my documents for browsing
mdm.Dialogs.BrowseFile.filterList = "MP3 Files|*.mp3";
mdm.Dialogs.BrowseFile.show("My Documents\\");
////MP3 FOLDER///DO NOT EDIT
btn13.onRelease = function() {//main directory for mp3 files
mdm.System.exec(mdm.System.Paths.programFiles+"Mgamerz\\my_mp3s\\");
////VIEW PLAYLIST///DO NOT EDIT
btn14.onRelease = function() {///View playlist as a text file
mdm.System.exec(mdm.System.Paths.programFiles+"Mgamerz\\my_mp3s\\mp3.t xt");
////UPDATE XML FILE///DO NOT EDIT
btn15.onRelease = function() {///Creates xml playlist once new mp3s have been added
mdm.System.exec(mdm.System.Paths.programFiles+"Mgamerz\\mymusic.xml ");
////MINIMIZE BUTTON
/*btn16.onRelease = function() { //Minimizes the application
mdm.Application.minimize() ///DO NOT EDIT
////CLOSE BUTTON
/*btn17.onRelease = function() { ///Closes application
mdm.Application.exit("ask","Are you sure you want to Exit?") ///DO NOT EDIT
///SCREEN CAPTURE DEVICE///DO NOT EDIT
btn18.onRelease = function() {///Screen captue sofdtware
mdm.System.exec(mdm.System.Paths.programFiles+"Mgamerz\\apps\\Capture Screen Studio\\css.exe");
////OPEN CDROM TRAY//YOU CAN EDIT THIS PATH
btn19.onRelease = function(){
mdm.System.openCDTray("I");
////CLOSE CDROM TRAY//YOU CAN EDIT THIS PATH
btn20.onRelease = function(){//Closes cdrom tray
mdm.System.closeCDTray("I");
////OPEN DVDROM TRAY//YOU CAN EDIT THIS PATH
btn21.onRelease = function() {//Opens dvdrom
mdm.System.openCDTray("H");
////CLOSE DVDROM TRAY//YOU CAN EDIT THIS PATH
btn22.onRelease = function() {//Closes dvdrom tray
mdm.System.closeCDTray("H");
/*btn23.onRelease = function() {//DO NOT EDIT
nextFrame();
////HELP//DO NOT EDIT
btn25.onRelease = function() {//Closes dvdrom tray
mdm.System.exec(mdm.System.Paths.programFiles+"Mgamerz\\help.exe");
////MDM HELP//DO NOT EDIT
btn26.onRelease = function() {//Closes dvdrom tray
mdm.System.exec(mdm.System.Paths.programFiles+"MDM 2.5 help file\\MDM 2.5 UserManual.chm");
zinc builder say i need to rebuild it because it doesnt support files created in earlier versions of zinc how do i do that?
Similar Messages
-
I have a EJB SLSB and I can deploy it to OC4J 10.1.2.0.2. However upon deployment OC4J is telling me:
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for detailsCan somebody tell me how I can make OC4J recompile EJBs with -deprecation set to true?I suppose you'd be the first to start screaming at
them for all the bugs in the 10.1.3 production
release, if the Oracle guys concentrated more on
getting something out quickly rather than providing a
reliable product.C'mon, the only reason I'm pushing this is the fact that from the (OTN) website it looks like 10.1.3 has been around for years, whereas the truth is that the actual production date is unknown. What I am experiencing around me is Oracle loosing credibility regarding Java/J2EE with their direct competitors already having J2EE 1.4 support. The project I'm currently involved in was forced to use 10.1.2.0.2 since it is the last production release of the Oracle Application Server. This is J2EE 1.3 technology which is fairly old stuff.
And... yes I'm amongst other things a developer and well aware of the challenges that come with creating software. Although in our projects we like to keep a relatively clear scope and not cramp as much features as possible in a version, just to satisfy the checklists :-) -
Code overrides deprecated API...recompile with
Hi,
Need help compiling SampleProgram(see code below).
(using JDK 1.3.1_06. and JCreator 2.5 build 8)
The following code(see below) compiles with an error:
"Note: C:\Documents and Settings\Alex1\My
Documents\Alex Files\My Java\Lesson
2\SampleProgram.java uses or overrides a deprecated
API.
Note: Recompile with -deprecation for details.
Process completed."
How can I change to make it work? Please help/advise.
Alex
CODE below:
import java.awt.*;
import javax.swing.*;
public class SampleProgram
static JFrame f1;
static JPanel p1;
JButton b1, b2;
SampleProgram()
p1 = new JPanel();
b1 = new JButton("Submit");
b2 = new JButton();
b2.setLabel("Cancel");
p1.add(b1);
p1.add(b2);
public static void main(String args[])
f1 = new JFrame("Sample Application");
f1.getContentPane().add(p1);
f1.setSize(300,300);Compile the progam this way to show u where the deprecation is.
javac -deprecation SampleProgram.java
This show that button.setLabel("Cancel");
has been deprecated.
Why don't you do it just the way you set the label for the submit button.
That's like;
b2 = new JButton("Cancel");
By the way programs runs fine with the deprecation, its not an error. -
Recompile with -Xlint:unchecked for details???
hi friends ,
im using jdk-6-windows-i586. and apache-tomcat-5.5.26.
In development phase i got the following error while compiling
BeerExpert.java file. This is my model.
Note: BeerExpert.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
But the class file is created. Is this any type of error or just warning msg.
What is the meaning of this and what to do for it.
Then I recompile the file with javac -Xlint BeerExpert.java or javac -Xlint:unchecked BeerExpert.java
and the warning msg. appered as-
BeerExpert.java:9: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List
brands.add("Jack Amber");
error pos::: ^ error or warning position pointed by compiler
4 warnings
my source code is-
package com.example.model;
import java.util.*;
public class BeerExpert {
public List getBrands(String color) {
List brands = new ArrayList();
if(color.equals("amber")) {
brands.add("Jack Amber");
brands.add("Red Moose");
else {
brands.add("Jail Pale Ale");
brands.add("Gout Stout");
return(brands);
Any suggestions what to do? Please..
Thanx in advance.hi i have the same problem but my compiler is different
it says note: stream.java uses or overrides depricated API
recompile with XLINT:deprication for details
@echo off
:def
color 0F
:main
cls
title irans's Perfect Compiler
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo :: Welcome to the ultimate Serverbatch!
echo ::
echo :: Choose one of the options below by entering
echo :: the corrensponding letter and pressing enter.
echo ::
echo :: Need a batch file created?
echo :: http://www.Moparscape.org/smf.
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo :::: Main options:
echo :::: com = Compile your server.
echo :::: run = Run your server.
echo :::: aur = Runs your server with autorestart.
echo :::: bac = Backup your server files.
echo ::::
echo :::: Other options;
echo :::: set = Change settings.
echo :::: loc = Location list (co-ordinates)
echo :::: upd = Updates
echo :::: cmd = Command generator
echo :::: cre = Credits
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo ::
set /p mainc=:: Choice:
if %mainc%==com goto com
if %mainc%==run goto run
if %mainc%==aur goto aur
if %mainc%==bac goto bac
if %mainc%==set goto set
if %mainc%==loc goto loc
if %mainc%==upd goto upd
if %mainc%==cmd goto cmd
if %mainc%==cre goto cre
if %mainc%==COM goto com
if %mainc%==RUN goto run
if %mainc%==AUR goto aur
if %mainc%==BAC goto bac
if %mainc%==SET goto set
if %mainc%==LOC goto loc
if %mainc%==UPD goto upd
if %mainc%==CMD goto cmd
if %mainc%==CRE goto cre
goto main
:com
cls
title Compiling...
echo :: Preparing for compile...
echo :: Auto-setting envriomental variables...
echo ::
goto com2
:com2
title Compiling...
echo :: Scanning for latest JDK version...
echo ::
IF EXIST "%programfiles%\JAVA\JDK1.6.0_10\BIN" (GOTO COM10)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_09\BIN" (GOTO COM09)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_08\BIN" (GOTO COM08)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_07\BIN" (GOTO COM07)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_06\BIN" (GOTO COM06)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_05\BIN" (GOTO COM05)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_04\BIN" (GOTO COM04)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_03\BIN" (GOTO COM03)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_02\BIN" (GOTO COM02)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_01\BIN" (GOTO COM01)
goto comerrorxxx
:COM10
echo :: Found JDK 1.6.0_10
SET CLASSPATH=Files\Java\jdk1.6.0_10\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_10\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM09
echo :: Found JDK 1.6.0_09
SET CLASSPATH=Files\Java\jdk1.6.0_09\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_09\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM08
echo :: Found JDK 1.6.0_08
SET CLASSPATH=Files\Java\jdk1.6.0_08\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_08\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM07
echo :: Found JDK 1.6.0_07
SET CLASSPATH=Files\Java\jdk1.6.0_07\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_07\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM06
echo :: Found JDK 1.6.0_06
SET CLASSPATH=Files\Java\jdk1.6.0_06\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_06\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM05
echo :: Found JDK 1.6.0_05
SET CLASSPATH=Files\Java\jdk1.6.0_05\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_05\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM04
echo :: Found JDK 1.6.0_04
SET CLASSPATH=Files\Java\jdk1.6.0_04\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_04\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM03
echo :: Found JDK 1.6.0_03
SET CLASSPATH=Files\Java\jdk1.6.0_03\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_03\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM2
echo :: Found JDK 1.6.0_02
SET CLASSPATH=Files\Java\jdk1.6.0_02\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_02\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COM01
echo :: Found JDK 1.6.0_01
SET CLASSPATH=Files\Java\jdk1.6.0_01\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_01\bin
echo :: Results:
javac *.java
echo :: Done!
pause
goto main
:COMERRORXXX
echo :: No version of JDK 1.6 was detected.wtf impossible
pause
goto main
:run
cls
title Running Server...
echo :: Port:
echo :: 43594
IF EXIST "%programfiles%\JAVA\JDK1.6.0_10\BIN" (GOTO RUN10)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_09\BIN" (GOTO RUN09)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_08\BIN" (GOTO RUN08)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_07\BIN" (GOTO RUN07)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_06\BIN" (GOTO RUN06)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_05\BIN" (GOTO RUN05)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_04\BIN" (GOTO RUN04)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_03\BIN" (GOTO RUN03)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_02\BIN" (GOTO RUN02)
IF EXIST "%programfiles%\JAVA\JDK1.6.0_01\BIN" (GOTO RUN01)
:RUN10
echo :: Running using JDK 1.6.0_10...
SET CLASSPATH=Files\Java\jdk1.6.0_10\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_10\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN09
echo :: Running using JDK 1.6.0_09...
SET CLASSPATH=Files\Java\jdk1.6.0_09\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_09\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN08
echo :: Running using JDK 1.6.0_08...
SET CLASSPATH=Files\Java\jdk1.6.0_08\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_08\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN07
echo :: Running using JDK 1.6.0_07...
SET CLASSPATH=Files\Java\jdk1.6.0_07\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_07\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN06
echo :: Running using JDK 1.6.0_06...
SET CLASSPATH=Files\Java\jdk1.6.0_06\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_06\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN05
echo :: Running using JDK 1.6.0_05...
SET CLASSPATH=Files\Java\jdk1.6.0_05\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_05\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN04
echo :: Running using JDK 1.6.0_04...
SET CLASSPATH=Files\Java\jdk1.6.0_04\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_04\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN03
echo :: Running using JDK 1.6.0_03...
SET CLASSPATH=Files\Java\jdk1.6.0_03\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_03\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN02
echo :: Running using JDK 1.6.0_02...
SET CLASSPATH=Files\Java\jdk1.6.0_03\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_03\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed!
pause
goto main
:RUN01
echo :: Running using JDK 1.6.0_01...
SET CLASSPATH=Files\Java\jdk1.6.0_03\bin;%CLASSPATH%;
SET PATH=C:\Program Files\Java\jdk1.6.0_03\bin
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
echo :: Failed! Need JDK 1.6.0_xx
pause
cls
goto main
:bac
:backup
cls
title Backing up files...
echo :: Backing up files...
if not exist Backup mkdir Backup
if not exist Backup\characters mkdir Backup\characters
if not exist Backup\connectedFrom mkdir Backup\connectedFrom
if not exist Backup\data mkdir Backup\data
if not exist Backup\flagged mkdir Backup\flagged
if not exist Backup\logs mkdir Backup\logs
if not exist Backup\moreinfo mkdir Backup\moreinfo
if not exist Backup\savedGames mkdir Backup\savedGames
Echo Starting Backup Copy
copy /V /Y /A *.txt .\Backup\
copy /V /Y /A *.java .\Backup\
copy /V /Y /A *.class .\Backup\
copy /V /Y /A *.cfg .\Backup\
copy /V /Y /A *.bat .\Backup\
copy /V /Y /A bans .\Backup\bans
copy /V /Y /A characters .\Backup\characters
copy /V /Y /A characters .\Backup\characters
copy /V /Y /A connectedFrom .\Backup\connectedFrom
copy /V /Y /A data .\Backup\data
copy /V /Y /A flagged .\Backup\flagged
copy /V /Y /A logs .\Backup\logs
copy /V /Y /A moreinfo .\Backup\moreinfo
copy /V /Y /A savedGames .\Backup\savedGames
echo :: Done.
pause
cls
goto main
:set
cls
echo :: Enter one of the following to change background colour.
echo :: B0 = Black
echo :: B1 = Blue
echo :: B2 = Green
echo :: B3 = Cyan
echo :: B4 = Red
echo :: B5 = Purple
echo :: B6 = Yellow
echo :: B7 = White
echo.
echo :: Enter one of the following to change text colour.
echo :: T0 = Black
echo :: T1 = Blue
echo :: T2 = Green
echo :: T3 = Cyan
echo :: T4 = Red
echo :: T5 = Purple
echo :: T6 = Yellow
echo :: T7 = White
set /p s=:: Choice:
if %s%== B0 (set b=0)
if %s%== B1 (set b=1)
if %s%== B2 (set b=2)
if %s%== B3 (set b=3)
if %s%== B4 (set b=4)
if %s%== B5 (set b=5)
if %s%== B6 (set b=6)
if %s%== B7 (set b=F)
if %s%== T0 (set t=0)
if %s%== T1 (set t=1)
if %s%== T2 (set t=2)
if %s%== T3 (set t=3)
if %s%== T4 (set t=4)
if %s%== T5 (set t=5)
if %s%== T6 (set t=6)
if %s%== T7 (set t=F)
color %b%%t%
pause
cls
goto main
:loc
cls
echo :: Below is a list of locations with their coordinates.
echo ::
echo :: Varrock - 3210 3424
echo :: Falador - 2964 3378
echo :: Lumbridge - 3222 3218
echo :: Camelot - 2757 3477
echo :: East Ardougne 2662 3305
echo :: West Ardougne 2529 3307
echo :: Al Kharid 3293 3174
echo :: Khalphite Lair 3226 3107
echo :: Yannille 2606 3093
echo :: Tutorial Island 3094 3107
echo :: Barbarian Village 3082 3420
echo :: Entrana 2834 3335
echo :: Heroes Guild 2902 3510
echo :: Rangers Guild 2658 3439
echo :: Catherby 2813 3447
echo :: Seers Village 2708 3492
echo :: Fishing Guild 2603 3414
echo :: Isafdar 2241 3238
pause
cls
goto main
:upd
cls
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo :: Latest updates:
echo ::
echo :: 1) Added Location list.
echo :: 2) Fixed backup commands.
echo :: 3) Added settings option.
echo :: 4) Fixed backup to cover more file types.
echo :: 5) Added autorestarter. This was incredibly difficult for me to do.
echo :: 6) Added command generator.
echo :: 7) Auto-sets enviromental variables when compiling.
echo :: 8) Released On Mopar Forums
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
pause
cls
goto main
:cmd
:Star
Set /p CmdName=Command Input?
Set /p RUSure=Are you sure you want the commands input: %CmdName%(yes,no)?
If %RUSure%==no GOTO Star
If not Exist CommandsFolder MD Commands Folder
Echo else if(command.equalsignorecase("%CmdName%")) >> ".\Commands\%CmdName% Command.txt"
Echo { >> ".\Commands\%CmdName% Command.txt"
cls
set /p AY=addItem(yes,no)?
If %AY%==YES Goto addItem
If %AY%==yes Goto addItem
If %AY%==no Goto endCode
If %AY%==NO Goto endCode
:addItem
cls
set /p ID=ItemID?
cls
set /p Amount=Amount Of that Item?
cls
echo addItem(%ID%,%Amount%); >> ".\Commands\%CmdName% Command.txt"
Set /P AT=Add item, add tele or finish command.(AI,T,End)
If %AT%==ai GOTO addItem
If %AT%==Ai GOTO addItem
If %AT%==AI GOTO addItem
If %AT%==aI GOTO addItem
If %AT%==T GOTO Tele
If %AT%==t GOTO Tele
If %AT%==end GOTO endCode
If %AT%==END GOTO endCode
If %AT%==EnD GOTO endCode
If %AT%==eNd GOTO endCode
If %AT%==ENd GOTO endCode
If %AT%==enD GOTO endCode
if %AT%==End Goto endcode
if %type%==* goto error
echo.
goto error
:error
cls
echo Commands invalid. Only use commands from the menu.
pause
goto menu
:endCode
cls
Echo } >> ".\Commands\%CmdName% Command.txt"
Set /p Again=Make Another (yes, No)?
If %Again%==yes GOTO Star
If %Again%==no goto fin
If %Again%==YES GOTO Star
If %Again%==NO goto fin
:Tele
cls
Set /P X=XCoord Tele?
Set /P Y=YCoord Tele?
Echo teleportToX = %X% >> ".\Commands\%CmdName% Command.txt"
Echo teleportToY = %Y% >> ".\Commands\%CmdName% Command.txt"
Set /P AT=addItem Or Another Tele(not Used In Same Command Usually(AI,T,End)
If %AT%==ai GOTO addItem
If %AT%==Ai GOTO addItem
If %AT%==AI GOTO addItem
If %AT%==aI GOTO addItem
If %AT%==T GOTO Tele
If %AT%==t GOTO Tele
If %AT%==end GOTO endCode
If %AT%==END GOTO endCode
If %AT%==EnD GOTO endCode
If %AT%==eNd GOTO endCode
If %AT%==ENd GOTO endCode
If %AT%==enD GOTO endCode
if %AT%==End Goto endcode
:fin
echo Command creation complete. Find it in the commands folder.
pause
cls
goto main
:aur
cls
echo :: Have you already set up your autorestarter? (Y/N)
set /p ans=:: Answer:
if %ans%==y goto ansyes
if %ans%==n goto ansno
goto main
:ansyes
cls
call autorestart.bat
echo Not Found!
pause
goto main
:ansno
cls
echo :: How long between auto restarts?
set /p hlb=:: (10min, 12min, 14min, 16min, 18min, 20min):
if %hlb%==10min goto min10
if %hlb%==12min goto min12
if %hlb%==14min goto min14
if %hlb%==16min goto min16
if %hlb%==18min goto min18
if %hlb%==20min goto min20
:min10
del ProcessKiller.bat
del Autorestart.bat
del Runner.bat
echo :start >> ProcessKiller.bat
echo PING 1.1.1.1 -n 1 -w 600000 >> ProcessKiller.bat
echo tskill java >> ProcessKiller.bat
echo start call runner >> ProcessKiller.bat
echo goto start >> ProcessKiller.bat
echo java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server >> Runner.bat
echo exit >> Runner.bat
echo @echo off >> Autorestart.bat
echo :start >> Autorestart.bat
echo Start call "Runner.bat" >> Autorestart.bat
echo call "ProcessKiller.bat" >> Autorestart.bat
echo pause >> Autorestart.bat
echo goto start >> Autorestart.bat
goto donexd
:min12
del ProcessKiller.bat
del Autorestart.bat
del Runner.bat
echo :start >> ProcessKiller.bat
echo PING 1.1.1.1 -n 1 -w 720000 >> ProcessKiller.bat
echo tskill java >> ProcessKiller.bat
echo start call runner >> ProcessKiller.bat
echo goto start >> ProcessKiller.bat
echo java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server >> Runner.bat
echo exit >> Runner.bat
echo @echo off >> Autorestart.bat
echo :start >> Autorestart.bat
echo Start call "Runner.bat" >> Autorestart.bat
echo call "ProcessKiller.bat" >> Autorestart.bat
echo pause >> Autorestart.bat
echo goto start >> Autorestart.bat
goto donexd
:min14
del ProcessKiller.bat
del Autorestart.bat
del Runner.bat
echo :start >> ProcessKiller.bat
echo PING 1.1.1.1 -n 1 -w 840000 >> ProcessKiller.bat
echo tskill java >> ProcessKiller.bat
echo start call runner >> ProcessKiller.bat
echo goto start >> ProcessKiller.bat
echo java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server >> Runner.bat
echo exit >> Runner.bat
echo @echo off >> Autorestart.bat
echo :start >> Autorestart.bat
echo Start call "Runner.bat" >> Autorestart.bat
echo call "ProcessKiller.bat" >> Autorestart.bat
echo pause >> Autorestart.bat
echo goto start >> Autorestart.bat
goto donexd
:min16
del ProcessKiller.bat
del Autorestart.bat
del Runner.bat
echo :start >> ProcessKiller.bat
echo PING 1.1.1.1 -n 1 -w 960000 >> ProcessKiller.bat
echo tskill java >> ProcessKiller.bat
echo start call runner >> ProcessKiller.bat
echo goto start >> ProcessKiller.bat
echo java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server >> Runner.bat
echo exit >> Runner.bat
echo @echo off >> Autorestart.bat
echo :start >> Autorestart.bat
echo Start call "Runner.bat" >> Autorestart.bat
echo call "ProcessKiller.bat" >> Autorestart.bat
echo pause >> Autorestart.bat
echo goto start >> Autorestart.bat
goto donexd
:min18
del ProcessKiller.bat
del Autorestart.bat
del Runner.bat
echo :start >> ProcessKiller.bat
echo PING 1.1.1.1 -n 1 -w 1080000 >> ProcessKiller.bat
echo tskill java >> ProcessKiller.bat
echo start call runner >> ProcessKiller.bat
echo goto start >> ProcessKiller.bat
echo java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server >> Runner.bat
echo exit >> Runner.bat
echo @echo off >> Autorestart.bat
echo :start >> Autorestart.bat
echo Start call "Runner.bat" >> Autorestart.bat
echo call "ProcessKiller.bat" >> Autorestart.bat
echo pause >> Autorestart.bat
echo goto start >> Autorestart.bat
goto donexd
:min20
del ProcessKiller.bat
del Autorestart.bat
del Runner.bat
echo :start >> ProcessKiller.bat
echo PING 1.1.1.1 -n 1 -w 1200000 >> ProcessKiller.bat
echo tskill java >> ProcessKiller.bat
echo start call runner >> ProcessKiller.bat
echo goto start >> ProcessKiller.bat
echo java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server >> Runner.bat
echo exit >> Runner.bat
echo @echo off >> Autorestart.bat
echo :start >> Autorestart.bat
echo Start call "Runner.bat" >> Autorestart.bat
echo call "ProcessKiller.bat" >> Autorestart.bat
echo pause >> Autorestart.bat
echo goto start >> Autorestart.bat
goto donexd
:donexd
echo :: Autorestart configuration is complete. Choose 'y' at the menu.
pause
cls
goto aur
goto main
:cre
cls
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo :: Thanks you for using irans's ultimate Serverbatch!
echo ::
echo :: Thanks to:
echo :: iran4life
echo ::
echo :: And you, if you have decided to use this
echo :: instead of a different serverbatch (compiler).
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
pause
cls
goto main
for some reason when i compile it says note: stream.java uses or overrides depricated API
recompile with XLINT:deprication for details
is there any errors ?
help plz ive been trying for weeks and i went to ur link and still couldnt find...
Edited by: imascape on Nov 5, 2008 8:18 PM -
Compliation Error: Recompile with -Xlint:unchecked for details
I am new to Java and am working through Sams Teach Yourself Java2 book. One of the examples gave me a compilation error. The problem code follows:
C:\Java_Work\com\ramyam\ecommerce>java c Storefront.java
Note: Storefront.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
package com.ramyam.ecommerce;
import java.util.*;
public class Storefront {
private LinkedList catalog = new LinkedList();
public void addItem(String id, String name, String price, String quant) {
Item it = new Item(id, name, price, quant);
catalog.add(it);
public Item getItem(int i) {
return (Item)catalog.get(i);
public int getSize() {
return catalog.size();
public void sort() {
Collections.sort(catalog);
}I think it has something to do with the collections class being outdated. Does anyone have any idea how to fix this?
Thanks in advance,
georginaThe book probably was published before Java had Generics. You can do as the error message says and recompile with the Xlint:unchecked option. Basically, you need to specify the type of objects you are putting into the LinkedList, something like private LinkedList<Item> catalog = new LinkedList<Item>();This may cause you other errors.........
-
hi, i'm new in java
i had tried to write one simple java applet, but when
i compiled this message was come out:
c:> javac applet1.java
Note:applet1.java uses or overrides a depreciated API
Note: recompile with -Xlint :deprecation for detailsHi , where are the instructions to follow ????
I have got this error too .
java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
I was using jdk1.4 before and my program works fine , but when I started using jdk1.5 I have go the above problem .u tell me how to fix it. -
When compiling a tetris program I received the following note at the end of all the errors. What is "-depriociation"? and how can I compile useing it?
Thanks in advance,
David
"Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
21 errors
"This means that one of the methods you are using has been replaced with a new method. To see which when use the -deprecation flag on javac, i.e.
javac -deprecation YourClassName.java -
How to work with 360 video?
I am new to AE and am trying to work with a 360 equirectangular video I shot with a Freedom 360 and 6 go pros.
Are there any tutorials on how to work with 360 spherical videos? Do I need to download additional plugins?
Thank you,
PhilPhil,
Of course, the image needs to be big for this, but the plugin you would use is CC Sphere.
Drop your movie into a composition and apply CC Sphere to the video.
Then set the Render option in the effect to "Inside".
Under Shading set Ambient to 100% and Diffuse to 0%.
Then scale inside the effect until the image fills the screen.
Then you'll be able to use the Rotate Y controls in CC Sphere to spin around inside your video!
You can also add Optics Compensation and Reverse the Lens Distortion to straighten out your image.
Let me know if you have any questions!
Trent -
When I downloaded IOS7, I found that the reminders/task app and how it interacts with Outlook Exchange is much more difficult to use. Some of the issues that I am having are...
1. Trying to edit my task on my phone is not possible, if the notes are lengthy. When you click on the text to edit data near the top, it will scroll to the bottom and not allow you to edit the text because you cant see it.
2. Now all of my task are in one long list. I can not move from day to day like we could in previous version IOS6
3. When I do edit a short task reminder and click done, it crashes and completly goes away. It does save the edit though
4. You can only add task at the bottom of each days reminders. This is very inconvient and much more difficult than IOS6
5. There is a major delay or latency when interacting inside of reminders in this version. Much more than IOS6. It is very unstable and quirky.
I have never seen Apple take a step back with a product until now. I am a huge Apple fan and always will be, so I am hoping they make enhancements to fix these issue. It is a big time prodcutivity killer.
Thanks for any and all help you can give.
Troy MeachumSome power supplies or designed so that if there is a short or overload they shut them selfs off and some will not turn back on. Some have a relay that will click back on and work, some you have to cycle the power switch. Those that won't come back on will have to be replaced. I'm not saying that yours is that type as I have no way of telling. But if you have a friend who will loan you a good power supply you might try it. As someone else said just turning off the power will not darn all the power from some motherboards. To test this turn off your power supply than turn on the computer with the start botton. Mine will flash the lights and fans will start to spin than die. So every time you turn off computer to work on it. After turning off PSU hit the start botton to drian any power left in it before working on it. Also do this after unplugging it just to make sure.
-
How to deal with deadlock on wwv_flow_data table when http server times out
There are some threads about a deadlock on the wwv_flow_data table. None of them contain a real explanation for this behaviour. In my case I will try to explain what I think is happening. Maybe it helps somebody who is hitting the same matter.
In my case with APEX 3.2.1 I am navigating from one page to another. Doing this APEX will lock the table wwv_flow_data. As soon as the other page is shown the lock will be released. But now this other page contains a bad performing query (standaard report region). After 5 minutes the http server (modplsql) will time out and present the message "No response from the application server" on the screen. In the meanwhile the query is still running on the database server and the lock stays on the wwv_flow_data table.
Normal user behaviour will be that the user will use the back button to return to the previous page and tries it again to navigate to the other page or
the user will try to refresh the page with the bad performing query.
And voila now you will have a deadlock on the wwv_flow_data table since a second session is trying to do the same thing while the first hasn't finished yet.
How to deal with it?
First of all. Have a good look at the bad performing query. Maybe you can improve it that it will succeed before the http server will timeout.
In my case the 11gr1 optimizer couldn't handle a subquery factoring clause in the best way. After changing it back to a classical inline query the problem was solved.
Secondly you could increase the timeout parameter of the http server. Although this not the best way.
Maybe it would better if APEX in a next version would release the lock on the table wwv_flow_date earlier or do a rollback just before the moment that the http server is timing out.
regards,
Mathieu MeeuwissenHello Shmoove,
I saw your reply here and you probably understand the problems the HTTP 100 response may cause.
I am trying to send image that was taken by getSnapshot. The problem is that the server respond with this HTTP 100 message.
I suspect that the reason that my server doesn't recognize the file that I'm sending from J2me is that the "server to client" response to the 100 message comes after the second message of (see what the TCPIP viewer shows down here):
POST /up01/up02.aspx HTTP/1.1
Content-Type: multipart/form-data; boundary=xxxxyyyyzzz
Connection: Keep-Alive
Content-length: 6294
User-Agent: UNTRUSTED/1.0
Host: szekely.dnsalias.com:80
Transfer-Encoding: chunked
400: Client to Server (126 bytes)
78
--xxxxyyyyzzz
Content-Disposition: form-data; name="pic"; filename="david.jpg"
Content-Type: application/octet-stream
400: Connected to Server
400: Server to Client (112 bytes)
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.1
Date: Wed, 23 Mar 2005 00:47:02 GMT
X-Powered-By: ASP.NET
Any help will be appreciated,
David -
How to sync with two computers not at the same time, I'm registerd with one computer
How to sync with two computers (not at the same time), I'm registered with one computer and am trying to connect with second computer with same iPhone. To sync the first time with the second PC "Firefox Sync Option tells me Create New account or Connect, when I connect it gives me a Passcode and on iPhone it also gives me a Passcode, than how do I connect? Both the iPhone and PC gives me a Passcode and have now idea what to do with them.
Where do I find my Sync Key ? so I can install manually if it works ?Use the Sync Key ''(Recovery Key)'' from the PC that you used to initially setup your Firefox Sync service, when setting up that 2nd PC with Sync. You need to use '''Add a device''' to setup the 2nd and subsequent devices on a Sync account. <br />
https://support.mozilla.com/en-US/kb/add-a-device-to-firefox-sync -
How to agree with terms of i tune in order to update applications
How to agree with terms of i tune in order to update applications
Are you agreeing to the terms, but then being asked to agree to them again and again, endlessly? Or is something a bit different going on?
-
How to deal with OpenCL grey out issue.
First off, I'm not native english speaker.
I have Nvidia GeForce 550 Ti video card, and its support OpenCL v1.1.
I'm also face a "random" OpenCL grey out issue like other people here, but I found the "issue" and how to deal with.
open a command windows (using WinKey + R, and type cmd <enter>)
type "cd C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)" <enter>
type "sniffer_gpu" <enter> -->> to check your GPU has OpenCL in Photoshop?
When GPU is in power-saving mode (core running in 51Mhz, using MSI Afterburner monitor), I running sniffer_gpu, got this report
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
Device: 0000000000328D68 has video RAM(MB): 1023
Vendor string: NVIDIA Corporation
Renderer string: GeForce GTX 550 Ti/PCIe/SSE2
Version string: 3.0.0
OpenGL version as determined by Extensionator...
OpenGL Version 3.0
Has NPOT support: TRUE
Has Framebuffer Object Extension support: TRUE
OpenGL ok
Return code: 1
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
No OpenCL support
Then, I switch GPU back to normal status (core running at 900Mhz)
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
Device: 00000000001F8D68 has video RAM(MB): 1023
Vendor string: NVIDIA Corporation
Renderer string: GeForce GTX 550 Ti/PCIe/SSE2
Version string: 3.0.0
OpenGL version as determined by Extensionator...
OpenGL Version 3.0
Has NPOT support: TRUE
Has Framebuffer Object Extension support: TRUE
OpenGL ok
OpenCL ok, version=1.1 CUDA 4.2.1
Return code: 3
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
OpenCL support !!
Nowadays, most of new GPUs were support power-saving, but when sniffer_gpu running at GPU power-saving state, the OpenCL computing report maybe "time-out", cause the detector "guess" the GPU does not support OpenCL. This is why many people says "OpenCL" sometimes work, sometimes grey-out.
I hope this bug can be fixed, or at least people can understand how to "enable OpenCL everytime when you launch photoshop".
Bye.Do check the following link
http://blogs.oracle.com/soabpm/2010/01/soa_suite_11g_weblogictransact.html -
Hi everybody,
I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
Setup Project to install it.
Here is what I did for the "Class Library":
1. Finish the program.cs, Service.cs
2. Add Installer
3. Change the serviceInstaller so that "StartType" to be Aotumatic
4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
5.
6. Click in F5 (Start Debugging)
Here is what I did for the Setup Project:
1. Add the exe file built from the "Class Library" project to the Application Folder
2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
3. Change the property of the project so that "RemovePreviousVersion" to be true
4. Click on F6(Build Solution)
Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
1. After unstall, the registry was not cleaned up about the installed program
2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
My questions are:
1. How to cleanup the registry when uninstall a program?
2. How to deal with the "Error 1001. The specified service already exists"?
3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
Thanks a lot!
HelenHi Simon, not a problem!
I spent some more time on this and here are few more notes:
it is called Major Upgrade, when you are installing new version of the product upon a previous one and
MSI supports 2 strategies:
Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
installed files)
Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
will be reverted to the previous state and it'll be still functional.
Let's consider both strategies:
Consider you have installed product_v1.msi and you want to install product_v2.msi.
Strategy 1
1. MSI engine copies files from Product_v1 directory to TEMP directory
2. MSI engine merges files based on the assembly version (between v1 and v2)
3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
Strategy 2
1. MSI engine tottaly removes all files from v1.
2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts allready worked out and MSI doesn't have files to revert machine back
I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
here. So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
AND, you got "Error 1001. The specified service already exists"
because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
installation and they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
and delete), like this:
*clip*clip*clip*
' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
' Update the Service Entry to stop and delete service while uninstalling
query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
+ componentName + "')"
Set view = database.OpenView(query)
: CheckError
view.Execute : CheckError
' Update the Service Entry to stop and delete service while installing
query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
+ componentName + "')"
Set view = database.OpenView(query)
: CheckError
view.Execute : CheckError
*clip*clip*clip*
We can uninstall service first by following Strategy 2, but then we lose transactional support.
So, Simon did I encourage you to change your code a bit?:)
And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
Hope it will help to everybody!
See also more advanced explanation of how MSI works
here.
Truly yours, Marat -
How to deal with credentials for external applications using a Java Client/
Hi Guys,
This is the case. I am integrating an external application with an ADF Application. I have implemented some programmatic ViewObjects that are being filled up by a REST Java Client Wrapper. Everything is working fine but the issue is that the credentials the wrapper is using are hard coded inside the java class. I am thinking to ask for the credentials at the beginning of my taskflow and then store them somewhere and use them then to create my client wrapper (passing them in the constructor).
However, I don't know if my approach is good and I would like you to share your experiences or how to deal with this.
RegardsYou can use Credential Store Framework to store the credentials securely in the weblogic server instead of hardcoding in the java class.
The Credential Store Framework:
- enables you to manage credentials securely
- provides an API for storage, retrieval, and maintenance of credentials in different back-end repositories
Check the documentation on CSF API -
http://docs.oracle.com/cd/E29505_01/core.1111/e10043/devcsf.htm
Major Steps -
1. Create a credential map and key in em console to store the password (http://docs.oracle.com/cd/E25054_01/core.1111/e10043/csfadmin.htm)
2. Use CSF API to retrieve the stored password
3. In jazn-data.xml give permissions to access CSF key and map
Maybe you are looking for
-
I have ordered a Macbook air 11' since April 2013, until now I do not receive yet. The store in Cambodia was accredited by Apple as product resellers. They told me that the apple distributer is not responded to their request. UMMMH
-
The apps wont download on my iPod
when i click "download" or "update" the apps say waiting and then about 5 seconds later they just disappear from the screen like i never got them to download or update...i've tried it a million times and its definitly not the connection..it also isnt
-
Error in Displaying Default Value calculacted by Service
Hi Experts, In my VC Model i had a Drop down on Week No with Static List of week no from 1-52. Which is working fine,User selects the Week No he wants and that week no is sent an a variable to query.... And my requirment is to display Current W
-
I recently acquired a $15 iTunes card to get apps and music. I have forgotten my security questions and I cannot buy anything HELP (I tried to reset them in the Password and Security tab but the text under the questions does not show)
-
OBIEE: Uploading a Repository(RPD) in Presentation Services
Hi all, I am very new to OBIEE. Please help me. 1.After creating a repository how do i upload it to make it available in BI Answers? 2.How do i Upload more than 1 Rpd? 3. How do i create new user in BI Answers same as an Administrator? Thanks a lot i