Need help with 'Output Folder URL'

How can I compile my application and have it get posted on a
server?
When I create a project, in the “Flex Build Path”
I add my server URL in the 'Output Folder URL' field. But when I
Run my project, it doesn't even seem to attempt to push any files
to the server. It just brings up my browser with the path to it,
which it obviously gets a 404 error. And its going to need a
username and password to post files to a server. Where would I
assign theses value to Flex Builder?

After I installed Apache Ant and tinkered with it for about 5
hours, I have what initially wanted. The code below will compile,
copy and launch. I also made a splash logo that appears when its
building. Ant is a nice utility for automated development.
Ref:
http://blog.jodybrewster.net/2008/04/09/installing-ant-in-flex-builder-3/
http://ant.apache.org/manual/tasksoverview.html
<project name="buildXIFF" default="main">
<property name="compiler" value="C:\Program
Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe"/>
<property name="firefox" location="C:\Program
Files\Mozilla Firefox\firefox.exe"/>
<property name="projectURL" value="
http://vmwinserver2003/flex/tests/XIFF/XIFF.html"/>
<property name="baseDirectory"
value="Z:\Documents\Programming\Flex\Tests\XIFF"/>
<property name="baseServerDirectory"
value="Y:\flex\tests\XIFF"/>
<target name="main">
<splash
imageurl="file:${baseDirectory}/build/FxAntBuildLogo.png"
showduration="2000"/>
<antcall target="compile" />
<antcall target="copy" />
<antcall target="launch" />
</target>
<target name="compile" description="Build XIFF
project">
<echo>Building files in bin directory in
repository</echo>
<exec executable="${compiler}">
<arg line="-file-specs '${baseDirectory}/src/XIFF.mxml'
"/>
<arg line="-output= '${baseDirectory}/bin-debug/' "/>
</exec>
</target>
<target name="copy" description="Copy XIFF bin directory
to server">
<echo>Copying bin directory from repository to server.
Overwriting all files in destination directory.</echo>
<copy todir="${baseServerDirectory}" overwrite="true">
<fileset dir="${baseDirectory}/bin-debug/"/>
</copy>
</target>
<target name="launch">
<echo>Launching browser, URL is the project's html
page on the server.</echo>
<exec executable="${firefox}" spawn="true">
<arg value="${projectURL}"/>
</exec>
</target>
</project>

Similar Messages

  • Subquery results need help with output

    Requirements:
    There is request to dump every day’s data from one table into text file.
    Tables:INSPECTION_RESULTS
    NJAS
    Primary Key: RES_SYS_NO
    Parent table: INSPECTION_RESULTS
    Child table: NJAS
    Purpose:
    1. obtain output results for the MIN and MAX RES_SYS_NO from INSPECTION_RESULTS table for yesterday’s date.
    2. Create comma delimited file for following columns using above table data output.
    Script thus far:
    SELECT NJA_RES_SYS_NO||','||NJA_TEST_REC_NO||','||NJA_LIC_ST_ID||','||NJA_ETS_ID||','||NJA_SW_VER||','||NJA_TECH_ID||','||NJA_VIN||','||NJA_LIC_NO||','
    ||NJA_LIC_JUR||','||NJA_LIC_SRC||','||NJA_MODEL_YR||','||NJA_MAKE||','||NJA_MODEL||','||NJA_VHCL_TYPE||','||NJA_BODY_STYLE||','||NJA_CERT_CLASS||','||
    NJA_GVWR||','||NJA_ASM_ETW||','||NJA_ETW_SRC||','||NJA_NO_OF_CYL||','||NJA_ENG_SIZE||','||NJA_TRANS_TYPE||','||NJA_DUAL_EXH||','||NJA_FUEL_CD||','
    || NJA_VID_SYS_NO||','|| NJA_VRT_REC_NO||','|| NJA_ARMSTDS_REC_NO||','|| NJA_RSN_F_N_TESTABLE||','|| NJA_DYNO_TESTABLE||','||
    NJA_CURR_ODO_RDNG||','|| NJA_PREV_ODO_RDNG||','|| NJA_PREV_TEST_DT||','|| NJA_TEST_TYPE||','||
    NJA_TEST_START_DT||','|| NJA_TEST_END_TIME||','|| NJA_EMISS_TEST_TYPE||','|| NJA_TEST_SEQ_NO||','
    ||NJA_LOW_MILE_EXEMP||','||NJA_TIRE_DRY||','|| NJA_REL_HUMID||','|| NJA_AMB_TEMP||','||NJA_BAR_PRESS||','|| NJA_HCF||','||
    NJA_GAS_CAP_ADAP_AVL||','|| NJA_GAS_CAP_REPL||','|| NJA_OVERALL_GAS_CAP_RES
    FROM NJAS
    WHERE NJA_RES_SYS_NO IN (SELECT MIN(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS WHERE NJA_RES_SYS_NO IN
    (SELECT MAX(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS, (SELECT SYSDATE-1 FROM DUAL))
    It works but not sure if I am getting accurate results. Can anyone help me fine tune this subquery script? Thanks!
    Scott

    Duplicate post
    See my answer in your other posting here Re: need help with script

  • Need help with contacting HTTPS URL

    Hi,
    I am new bie to Java Security. I do not know where to start off with. Here is the requirement.
    I need to contact an HTTPS URL and this URL gives me output which is encypted data.
    I have to save this ecnrypted data into a file and I have the KEY to decrypt the data.
    I have tried several ways (all listed below) to get it working. But I am not successful. I get
    "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found"
    Can you guys give me some insight on how to proceed?
    Thanks
    Mathew
    import java.util.*;
    import java.text.*;
    import java.net.*;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.security.Permission;
    import javax.net.ssl.HttpsURLConnection;
    import java.security.*;
    import java.security.cert.*;
    import javax.net.ssl.*;
    import java.io.*;
    public class temp
         protected BufferedReader messageResponseReader;
         private static final String CERTIFICATE_TYPE = "SunX509";
         private static final String KEYSTORE_TYPE = "JKS";
         private static final String SSL_PROTOCOL = "TLS";
         private static final String CERTIFICATE_FACTORY_TYPE = "X.509";
         public static void main(String args[])
              try
                   try{
                             temp tmp = new temp();
                             String url = "https://test.mysite.com/one/perform.jsp?mode=get&check=true";
                             tmp.sendRequest(url);
                        }catch(Exception e)
                             e.printStackTrace();
              catch(Exception e){
                   e.printStackTrace();
    public String sendRequest(String urlString) throws Exception
    StringBuffer response = null;
    BufferedReader messageReader = null;
    try
                   String username = "user";
                   String password = "pwd";
                   String encoding = new sun.misc.BASE64Encoder().encode("username:password".getBytes());
                   //java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
                   // Needed for validation of the server certificate
                   //System.setProperty("javax.net.ssl.trustStore","C:\\cert\\key.txt");
                   // Needed for providing a clint certificate for client authentication
                   //System.setProperty("javax.net.ssl.keyStore","C:\\cert\\key.txt");
                   //System.setProperty("javax.net.ssl.keyStorePassword","te5t1ng");
                   //System.setProperty("ssl.SocketFactory.provider", "com.sun.net.ssl.internal.ssl.Provider");
                   KeyStore ks;
                   ks = KeyStore.getInstance("JKS");
                   CertificateFactory cf = CertificateFactory.getInstance(CERTIFICATE_FACTORY_TYPE);
                   TrustManagerFactory tmf = TrustManagerFactory.getInstance(CERTIFICATE_TYPE);
                   KeyManagerFactory kmf = KeyManagerFactory.getInstance(CERTIFICATE_TYPE);
                   FileInputStream fis = new FileInputStream("C:\\cert\\key.txt");
                   BufferedInputStream bis = new BufferedInputStream(fis);
                   Collection c = cf.generateCertificates(fis);
                   Iterator i = c.iterator();
                   while (i.hasNext()) {
                   java.security.cert.Certificate cert = (java.security.cert.Certificate)i.next();
                   System.out.println(cert);
                   ks.load(null, null);
                   X509Certificate the_cert = (X509Certificate)cf.generateCertificate(bis);
                   ks.setCertificateEntry("server_cert",the_cert);
                   tmf.init(ks);
                   ks = KeyStore.getInstance(KEYSTORE_TYPE);
                   ks.load(null, null);
                   the_cert = (X509Certificate)cf.generateCertificate(new FileInputStream("key.txt"));
                   ks.setCertificateEntry("client_cert",the_cert);
                   kmf.init(ks, null);
                   SSLContext ctx = SSLContext.getInstance(SSL_PROTOCOL);
                   KeyManager[] km = kmf.getKeyManagers();
                   TrustManager[] tm = tmf.getTrustManagers();
                   ctx.init (km, tm, null);
                   HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
    urlString = urlString.replaceAll(" ","%20");
    URL url = new URL(urlString);
    //HttpsURLConnection urlCon = (HttpsURLConnection)url.openConnection();
    HttpURLConnection urlCon = (HttpURLConnection)url.openConnection();
    //com.sun.net.ssl.HttpsURLConnection urlCon = (com.sun.net.ssl.HttpsURLConnection)urlCon;
    /*urlCon.setRequestProperty("Host", url.getHost());*/
    urlCon.setDoOutput(true);
    urlCon.setDoInput(true);
    urlCon.setRequestMethod("POST");
    urlCon.setUseCaches (false);
    urlCon.setAllowUserInteraction(true);
    urlCon.setInstanceFollowRedirects(true);
    urlCon.setRequestProperty ("Authorization", "Basic " + encoding);
    //Permission permision = urlCon.getPermission();
    //System.out.println("permission name:"+permision.getName());
    urlCon.connect();
    //messageReader = new BufferedReader(new InputStreamReader(urlCon.getInputStream()));
    //response = new StringBuffer();
    //String line;
    //while((line = messageReader.readLine()) != null){
    // response.append(line);
    // response.append("\n");
    catch (Exception e) {
    e.printStackTrace();
    throw e;
    return "testing";

    sorry for the junk data.. Need to post it again

  • PLEASE NEED HELP WITH OUTPUTTING HDV/DV!! 16:9 to 4:3!! NEED HELP NOW!

    ok. I started out with HDV footage. Imported that edited it native HD into final cut 5, didn't downconvert. Now I am trying to output the finished work onto a dv camera through firewire. At first i nested the HDV sequence into a NTSC sequence, but the video wouldn't go through to the camera, only audio. I thought it was a connection problem, but then i played some DV footage and it went to the camera fine. So then i exported the DV sequence as a quicktime movie in NTSC form, but that really cropped the 16:9 footage and made it unwatchable. How can i take the 16:9 HDV footage, and letterbox it so that it fits inside a 4:3 frame without cutting off any of the original frame, and then export that to a DV camera? Let me know if you need more info, please help this is due tomorrow!! ahhhhh!

    When you Export using QuickTime Conversion, to DV Stream, you get an option of what the aspect ratio should be. Select 16:9 and the DV stream will be what you're looking for. Opening that in FCP and sending it to the camera should work out well.

  • Need help with output for D5

    Hi,
    I need some help getting my film in sync to a D5.
    The film was shot on MiniDV and edited drop frame (29.97).
    What we did first is output on miniDV and dubbed that to a D5 for color correction. Everything was in sync with the timeline. Then my friend color corrected. Since then several shots have been replaced, not effecting the timing at all. We checked that everything was hitting at the same timecodes and everything was cool.
    Now I've output another tape onto MiniDV and tried to dub it to D5 but the shots are not hitting at the same timecode. They assure me that everything is drop frame on their end. Not sure what might be causing the problem. Not sure what to try next?
    Need suggestions and ideas.
    thanks.

    if you had a downconvert from your "color corrected d5" you could place it in the timeline and see whats up.

  • Need help with unblocking a url in firefox

    I blocked an image in photobucket storing site and found that instead of one particular image I had block the url http://s208.photobucket.com/home/Gibelgirl/index while in Firefox and while images are in there I can not see them. This only happens in F irefox as in other browser there is no problem. Photobucket has informed me that I have blocked the site with the FireFox browseer. Can you tell me how to unblock please as I need these images. Thanks JanUK

    If that didn't help then:
    *Open the <i>Media</i> tab of the "Page Info" window.
    *Select the first image and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Need help with output type EDI for ERS

    All,
    I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up.
    1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start with Z* this is SAP standard, so I shouldn't have to modify any of this.
    2)  I've added my supplier to this output type. 
    3)  I assume I need to create a partner profile for this supplier?  If so can someone tell me the message type to use?
    Is there any set up I'm missing in this process?   I've executed ERS but do not get an idoc and I'm fairly certain it's because I haven't done the partner profile set-up.
    Thanks for your help.
    Sandra

    Hi,
    You don't have to modify thise setup unless you have any customized requirement.
    You are missing partner profile setup.Carry out the setup and run MRRL tcode to create the idocs
    Enter the following values using tcode WE20.
    Field                                       Value
    Message type                         GSVERF
    Partner type                             LI (vendor)
    Partner function                        LF (vendor)
    Port                                         SUBSYSTEM ( Port to your middleware)
    Output mode                            such as Collect IDocs
    Basic type                                GSVERF01
    Application                                 MR
    Output type                                ERS6 or the type you have defined
    Regards,
    Karuna

  • Need help with simple folder action or script

    I have created an export preset in Lightroom that exports images to a folder called "To Email" on my hard drive, and then automatically attaches those images to a new email in my email client (Mailplane).
    It's a great solution that allows me to send a photo via email with one click from Lightroom. However, I want to take it a step further by creating a folder action or script that automatically deletes the image after it is attached to the email. This will allow me to put the folder somewhere deeper in my file system without having to worry about cleaning it out all the time.
    Unfortunately, I have no experience with Automator or AppleScript. Can you help? Thanks.

    I think you need to rework elements of your workflow.
    For example, you say the export preset creates and sends the email.
    If this is the case, the the logical place to make your change would be to edit that preset action (I don't have Lightroom to know whether this is an option there or not).
    The problem with using a Folder Action is that the Folder Action will trigger when the file is dropped in the folder, but that will be before the email is generated or sent, so you run the risk of deleting the file before it's sent.
    So if you can't edit the export preset to do the deletion I would suggest decoupling the 'send an email' and 'delete file' elements from the Lightroom action - in other word change Lightroom to just export the file, and have a separate folder action that triggers when files are added to that folder. The folder action script can take care of generating the email and sending it out, knowing when the email is sent and therefore when it's safe to delete the file.
    WIthout seeing more of the current workflow it's not easy to be more specific.

  • Need help with home page url?

    So what I'm having problems with is getting my homepage url to say http://www.santoroman.com instead it is saying http://www.santoroman.com/site/home.html
    I have read through a bunch of the threads and done some trial and error but nothing seems to come through correct. My host is 1and1 and I use fetch to load everything up. Help me fellow mac nerds! I'd really like to get this solved within a few day.
    I just want people to be able to type in www.santoroman.com instead of all the other crap as well.
    Thanks

    So I have the new folder published on my desktop named "site" and I see the other fold that says "index.html" with the safari logo in the middle. Just drag and drop the 2 into fetch and publish?
    Yes. index.html is not a folder of course, it is a file.
    Should I name the other folder as: www.santoroman.com or can I leave it as site?
    You must leave it as site.

  • Need help with open folder (in Explorer) and click on Toggle Transparency Grid

    hi guys, can i with Extended script enable Toggle Transparency Grid ? i try using app.executeCommand( app.findMenuCommandId(Toggle Transparency Grid));and nothing.
    and also can i some how open folder in windows explorer via Extended script? i try google but find only examples for web-javascript.....
    thx

    Actually your command should consist quotes. It will look like this:
    app.executeCommand(app.findMenuCommandId("Toggle Transparency Grid"));
    But I`ve tried, and it doesn`t do what you need, because it launches Adobe Anywhere.
    Solution for second question is:
    var path = "C:/Program Files/Adobe/Adobe After Effects CC/Support Files/";
    var cmd;
    cmd = "";
    if($.os.indexOf("Win") != -1){
    cmd = "explorer " + String(path);
    }else{
    cmd += (("open \"" + String(path)) + "\"");          // change var path for Mac
    try {
    system.callSystem(cmd);
    }catch (e){
    alert(e);

  • Need help with output

    im trying to get the list of books on one dialog box. but all it shows is the message and no book title.
    Im trying to get the user to choose a book from the list. by entering 1-4.
    but so far what i really need first is how to get the titles all in one box
            if (quantity > 0) {
                JOptionPane.showInputDialog(null, "Choose a book to purchase or 4 to quit");
                for (int i = 0; i < quantity; i++)
                        JOptionPane.showInputDialog(null, "\"" + volumes.title);
    /code]
    Heres the rest of the code
    import javax.swing.JOptionPane;
    import java.util.*;
    class Book
        public String title;    
    //DONT FORGET TO WRITE COMMENTS!!!!!!!!!!!!!!!
    public class delete
        public static void main (String [] args)
            Book[]  volumes;     
            char    answer;      
            int     quantity = 0,
                    limit = 0;
                   int option;   
           limit = Integer.parseInt(JOptionPane.showInputDialog(null,"How many titles in the store? (Must be no more than 20) ")); //prompts the user for book titles
            volumes = new Book[limit];
            while (quantity < limit) {
                volumes[quantity] = new Book();
              volumes[quantity].title = JOptionPane.showInputDialog(null, "\nEnter book " + (quantity+1) + "'s title : ");
                            quantity++;
            if (quantity > 0) {
                JOptionPane.showInputDialog(null, "Choose a book to purchase or 4 to quit");
                for (int i = 0; i < quantity; i++)
                        JOptionPane.showInputDialog(null, "\"" + volumes.title);

    [url http://forum.java.sun.com/thread.jspa?threadID=5164155&tstart=0]Xpost

  • Need help with output one field horizontally please

    I know I have seen some ideas and threads about this, but it is not really what I need. I have a report in CR XI that seems to be on the right path. The problem I am having is one field that needs to be in details could provide multiple results (products and services) which duplicates all the records. Some customers I'll have 3 lines, the next 9 ... depending on how many P&S they have.
    What I have done is moved all fields from the details section to group1 which so far seems fine and left my P&S field in details.
    The output is normal:
    prod1
    prod2
    prod3
    prod4
    etc.....
    What I need is this: prod1, prod2, prod3, prod4, etc.
    Any ideas greatly appreciated.
    In the group header add a formula
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList := '';
    in the details
    WhilePrintingRecords;
    Global StringVar ProductList;
    If ProductList  = '' then
       ProductList  :=
    else
         ProductList := ProductList & ', ' & ; ''
    In the group footer
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList
    Edited by: Terry Mergl on Apr 20, 2010 9:15 PM

    What you have should do it.  Is there an issue?  Please explain in detail, giving sample data, current results, and expected results.
    Carl

  • Need help with outputing query group names

    I am trying to come up with a way to output group headers, then all the records under each group header etc. It would be easy, except there is a twist with what i want to do.
    Normally if I have this set of data (which I ‘borrowed’ from a site that showed the closest to what I’m looking for):
    Example Table Setup:
    TABLE [Numbers]
    (Name, NUMBER)
    Dave Bosky              843-444-4444
    Dave Bosky              843-555-5555
    Matthew Small        843-111-1111
    Matthew Small      _843-222-2222
    Matthew Small        843-333-3333
    I could use the following code:
    <cfoutput query="somequery" group="name">
            #name#<br>
            <cfoutput>
                    #phonenumber#<br>
            </cfoutput>
            <hr>
    </cfoutput>
    And get this:
    Dave Bosky
    843-444-4444
    843-555-5555
    Matthew Small
    843-111-1111
    843-222-2222
    843-333-3333
    BUT, my actual tables are not set up like this. Rather than recording each name with each record, I would have an ID that is the foreign key for another table.
    Current table set up would look like this:
    TABLE [People]
    (ID, NAME)
    1 Dave Bosky        
    2 Matthew Small  
    TABLE [Phones]
    (PEOPLE_ID, NUMBER)
    1              843-444-4444
    1              843-555-5555
    2              843-111-1111
    2              843-222-2222
    2              843-333-3333
    So this output would actually give me this with my current setup and the query code above:
    1
    843-444-4444
    843-555-5555
    2
    843-111-1111
    843-222-2222
    843-333-3333
    How do I keep my current setup but create a query that achieves the same result from the top? (Output the names from the People table as the group headers, but the data from the Phones table underneath that)

    Thanks! With a little tweaking I got it done.
    In case this might be useful to someone else this is the code I ended up using as a test run for what Im trying to do:
    <cfquery name="testthis" datasource="IRLE">
    SELECT ACCOUNTTYPES.ACCOUNTTYPEID, ACCOUNTTYPES.TYPEDESCRIPTION, ACCOUNTS.ACCOUNTNUMBER, ACCOUNTS.ACCOUNTTYPE, ACCOUNTS.ACCOUNTDESCRIPTION
    FROM ACCOUNTS INNER JOIN ACCOUNTTYPES ON ACCOUNTTYPES.ACCOUNTTYPEID = ACCOUNTS.ACCOUNTTYPE
    WHERE ACCOUNTUSERID = '#Session.UserID#'
    </cfquery>
    <table>
    <th colspan="3" align="center"><u>ACCOUNTS:</u></th>
    <cfoutput query="testthis" group="TYPEDESCRIPTION">
    <tr><td></td>
    <td colspan="2">#TYPEDESCRIPTION# Accounts:<BR></td>
    </tr>
    <cfoutput>
    <tr>
    <td></td>
    <td>#ACCOUNTNUMBER#</td>
    <td>#ACCOUNTDESCRIPTION#</td>
    </td>
    </tr>
    </cfoutput>
    </cfoutput>
    </table>
    Im using MySQL, so all the table names etc have to be capitalized.
    Table setup:
    ACCOUNTTYPES
    ACCOUNTTYPEID
    TYPEDESCRIPTION
    1
    CASH
    2
    TRADE
    ACCOUNTS
    ACCOUNTNUMBER
    ACCOUNTUSERID
    ACCOUNTTYPE
    ACCOUNTDESCRIPTION
    1
    1
    1
    CASH
    2
    1
    2
    BROKERAGE
    Note I also threw in a WHERE clause to only show accounts for the logged in user. (Session.USERID is defined by my code at login)
    All in all the output was:
    ACCOUNTS:
                    CASH Accounts:
                    1              CASH
                    TRADE Accounts:
                    2              BROKERAGE
    Given my data at the moment, that’s what I wanted! Sweet!

  • Need help with output please

    Thank you for taking a look ill post my code and then my problem
    import java.util.Scanner;
    public class intrest
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("Error: minimum deposit 10,000 and Maximum deposit 250000");
         else if (Value <25000)
              Rate = 2.76;
         else if (Value  <50000)
                    Rate = 3.16;
         else
              Rate = 3.20;
         double Interest = (Value / 100 * Rate);
            System.out.println ("Interest:" +Interest) ;
         System.out.println ("Rate:    " +Rate) ;
    }my goal for this program is to get the interest rate if the value is between 10k and 250k, if its any other value it should bring up an error however when i do input a number out of that range it gives me the error but it also displayes the interest rate and the interest gained although it does not work it out (both stay at 0 which is good),
    i want it to only show the error if the first statement is true "{code}if (Value >250000 || Value <10000){code}" ive tried using "Else If" but its still showing me the interest rate and interest gained, can anyone help would really appreciate it
    thank you very much

    Do a if condition check....if you dont want to use exit...below is the modified code
    import java.util.Scanner;
    public class test
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("\n Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("\nError: minimum deposit 10,000 and Maximum deposit 250000");
            else if (Value <25000)
                      Rate = 2.76;                  
                 else if (Value  <50000)
                  Rate = 3.16;
         else 
              Rate = 3.20;          
                 double Interest = (Value / 100 * Rate);
                 if ((Interest != 0) || (Rate !=0))
        System.out.println ("\n\n Interest:" +Interest +"\n\n Rate :"  +Rate);         
    }

  • Need Help with Output Routing...

    Ok, I've spent a few hours trying to figure this out and I give up....here's my question:
    I've got a MOTU Traveler and I'd like to have the Logic Output 1-2 feed its signal to both MOTU Analog Output 1-2 (Main Out) and Analog Output 3-4. I want the same signal going to both places. Basically I have two different sets of speakers I use when I'm finishing up a track and like to A/B between the different speaker sets. I've tried everything in Logic and other then setting up another output in Logic labeled 3-4 and manually switching each channel and bus to that new output, nothing works. I also tried the cuemix console and didn't see anyway to do it in there. The only other thing that seemed to work was using an I/O plugin sending output 1-2 to output 3-4, but the signal was super distorted going into 3-4. Anyone know how to have a single Logic Output (1-2) go to multiple Outputs on a MOTU?

    Hi,
    You can set up another output (3+4) and feed it from a buss that is at unity gain,from the main output 1+2
    Then in your cuemix you can calibrate that output to be the same level as the mains,so when you compare the speakers,the levels stay the same when switching.
    Just make sure to check the physical outputs on your traveler are set to the correct impedance (+4 or -10) to match the main outs.
    Cheers

Maybe you are looking for

  • New Hard Drive and trying to reinstall OS. Have Hp Recovery Discs but DVD drive broke

    Hi to all,  I just put a new hard drive in my HP Dv7. I also ordered recovery discs. When I tried to put the disc in I then found out my  DVD drive is not working My question is can I transfer the recovery disc to a USB flash drive and then boot from

  • How do I get credit for Adobe Touch App purchases?

    I purchased two Adobe Touch Apps a few months ago: Photoshop Touch and Ideas. Today I subscribed to Adobe Creative Could and saw that I can get a month free by purchasing three Touch Apps. So, I purchased a third Touch App today, Proto. Okay. Now, ho

  • Get image properties not in Metadata

    Hi, I use the XMPScript API with a JScript for Photoshop to get files image properties (width and height) before to import them. It work well but SGI and OpenEXR files don't have width/heigth information in the Metadata. I would like to know if it's

  • Dynamic Action Set Value - PLSQL Error - cannot contain an expression

    I am trying to use below in a Dynamic Action to Set Value with PL/SQL Function. The dynamic action does not update the item appropriately. I tried to run the below directly in SQL Workshop but received the error "PLS-00372: In a procedure, RETURN sta

  • Not enough memory to place the file

    hi when iam opening photoshop layered files at 300 dpi and having size 6x18 inches illustrator cs3 portable gives error message not enough memory to place the file and file is not opening ???