Calling the packager as part of the automated build process

Hi,
Is it possible to call the iPhone packager via command line or ANT script? We are developing a pure ActionScript application, and as part of the build process for this app, we'd like to call the packager to build the IPA file.
Is this possible?
Stephen

Is possible.
This is a piece from my ant build the variables must be configured properly
    <target name="test_package_iphone" depends="-chkName, -iPhonePWD" description="packageApp">
        <apply executable="${PFI_BAT}" parallel="true" dir="${DEBUG_DIR}" relative="true">
            <arg value="-package"/>
            <arg value="-target"/>
            <arg value="ipa-test"/>
            <arg value="-provisioning-profile"/>
            <arg value="${IPHONE_PROVISIONING}"/>
            <arg value="-storetype"/>
            <arg value="pkcs12"/>
            <arg value="-keystore"/>
            <arg value="${IPHONE_KEYSTORE}"/>
            <arg value="-storepass"/>
            <arg value="${IPHONE_PASSWORD}"/>
            <arg value="${app.name}.ipa"/>
            <arg value="${app.name}-app.xml"/>
            <arg value="${app.name}.swf"/>
            <arg value="-C"/>
            <arg value="${ASSETS_DIR}"/>
            <srcfile/>
            <fileset dir="${ASSETS_DIR}"/>
        </apply>
    </target>

Similar Messages

  • Automating the book building process in FM11 - best tool?

    Hi - we're gearing up to create an automated book-building process using FM11.
    Before we start, a quick straw-poll:
    What do you folks recommend / suggest as the best automation tool?
    We want to trigger the process when SGML files are dumped into a directory. When we've done directory-triggered automation in the past under FM7.1, we've tended to use VB.NET code to trigger an instance of an FM7.1 API client (usually to build and collate PDFs, etc)... but, since we're in a new era with a new release of FM, we thought we'd take an open-minded, 'blue sky' approach here and see what tools members of the Framemaker community are using.
    If one particular approach seems to be easier / more advantageous / more widely adopted than any of the others, then I think that might nudge us down that road...
    Thanks.

    Hi Nigel...
    You might want to look at our plugin, AutoFM ..
         http://leximation.com/tools/info/autofm.php
    This lets you drive FrameMaker from an XML file and a batch file (or other command line scripting). The XML file contains the instructions on which files to open and what to do with them. You can perform various basic functionality like saveas, print, update book, etc. It also lets you call other automation options like ExtendScript, FrameScript, or FDK clients to extend the processing as needed.
    Download the 30-day trial and see if it does what you need.
    AutoFM is the piece that is used to drive DITA-FMx (via FMx-Auto) in this video for automated DITA to PDF publishing, but can be used for any type of FM automation ..
         http://blog.leximation.com/2012/02/automated-dita-to-pdf-publishing-with-fmx-auto/
    Keep in mind that various types of FrameMaker automation may require using FrameMaker Server .. so be sure to check the EULA and use the right FM version for your needs.
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Difficult to get good package names with ojspc in automated build

    If I understand the documentation for "ojspc" correctly, there is an aspect of its functionality that makes it difficult to have a convenient automated build which can also get good package names for the generated Java source files.
    If you don't specify the "-packageName" option, ojspc will build a package name relative to the current directory, including sub-directories. However, specifying "-packageName" will ONLY use that package, and will not create sub-packages associated with sub-directories.
    If you don't use the "-packageName" option, then you have to run the build from the root directory of your JSP files. When you're running an automated build with ANT, it's not convenient to do this.
    The likely result of this is that I would have to make sure that all of my JSP files are named differently, even if they're in different directories, and use the "-packageName" option to specify a particular package name for all of the generated source files.

    After more careful reading, I realized that using the "-appRoot" option (without using "-packageName") makes it possible for an ANT build to generate good package names (with directories).
    The following note, however, in the ojspc documentation is kind of odd:
    "It is advisable that you run ojspc once for each directory of your JSP application, so files in different directories can be given different package names, as appropriate."
    I assume this is referring to using the "-packageName" option. If you don't need to use "-packageName", especially if you have multiple directories of JSP pages, it is much easier to just let ojspc pick the package names.

  • Automating build process

    Hi,
    I'm planning to automate the build of our BC4J project. It is, in fact, composed by several .jpr files distributed among three workspaces. Some classes/projects have cyclic dependencies (which are handled by the compiler).
    I'd like to have a script that builds this entire set of files, without the need of human intervention.
    I know JDeveloper can generate ant build files, but it does this in a by project basis, and I want it to be in a "by workspace basis". Also, the generated ant build file does not contain any information regarding other projects dependencies.
    Is there some tool/script out there that does this? Has anyone had a similar experience? Any thoughts?
    Thanks in advance,
    Daniel

    I know JDeveloper can generate ant build files, but
    it does this in a by project basis, and I want it to
    be in a "by workspace basis". Also, the generated ant
    build file does not contain any information regarding
    other projects dependencies.
    Is there some tool/script out there that does this?
    Has anyone had a similar experience? Any thoughts?Ant includes a task called "ant" to invoke a new ant buildfile, use this to tie them all together as tasks into one master build.xml.
    Rob
    Team JDev

  • Error while calling the BPEL from java program

    Hello All,
    I am tring to call the Synchronous BPEL process from the following code:
    package callbpelfromjava;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    public class BPELCaller {
    public static void main(String args[]){
    String input = "krrish";
    String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
    try{        
    Properties props=new Properties();
    props.setProperty("orabpel.platform","ias_10g");
    props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url","opmn:ormi://192.168.137.40:6004/home/orabpel");
    props.setProperty("java.naming.security.principal","oc4jadmin");
    props.setProperty("java.naming.security.credentials","welcome1");
    props.setProperty("dedicated.rmicontext", "true");
    Locator locator = new Locator("default", "bpel", props);
    System.out.println("After creating the locator object......");
    IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    System.out.println("Befor creating the NormalizedMessage object......");
    NormalizedMessage nm = new NormalizedMessage();
    System.out.println("After creating the NormalizedMessage object.*.*.*...");
    nm.addPart("payload", xmlInput);
    System.out.println("Before creating response object......");
    NormalizedMessage res = deliveryService.request("AccessDBBPEL", "process", nm);
    System.out.println("After calling the AccessDBBPEL .*.*.*...");
    Map payload = res.getPayload();
    System.out.println("BPEL called");
    XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
    String replyText=xmlEl.getText();
    System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
    catch (Exception e) {
    e.printStackTrace();
    I Included the following jar files:
    Orabpel-ant.jar
    Orabpel.jar
    Orabpel-common.jar
    Orabpel-boot.jar
    Xmlparserv2.jar
    Ejb30.jar
    and getting the exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
    Am I doing any thing wrong ?
    Thanks
    Krrish

    Hello Marc,
    Thank you for the reply.
    I could not find some of the jar files in my Jdeveloper 10.1.3.1.0
    ../lib/olite40.jar
    ../lib/wsclient_extended.jar
    ../lib/log4j-1.2.14.jar
    could you please help me locating these jars.
    or If possible, could you mail me those jars at [email protected]
    I have included all other jar files you have listed and getting the following errror:
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
    Thanks
    Krrrish

  • Walmart CLI, After Being Declined On the Automated System!

    Im gardening now and after reading threads about CLI for Walmart I decided to try my luck.  I've had my card since 6/15 and it was initially approved for 600.00, called a couple weeks later and requested an increase to $4,000 and yes!!!  So tonight while I didn't hold out much hope, it had only been a little over a month since the last increase.  I first called the automated line and they said sorry the account was not eligible now.  Then I called Credit solutions and spoke to a human, I asked for 2,000 increase, put me on hold then, congrats, my new limit is 6,000!   Definitely call in for your request for increases!

    fordguy89 wrote:
    Good job I just did the same Friday, and got mine doubled! unfortunately having a huge Walmart limit has nothing to do with getting an invitation for the MasterCard that was the only reason I kept trying to get increases. I really don't have a use to go over 1500 bucks in that store ever ever everThere is no way that I will use $6,000 either, absolutely not.  I do like the assistance that it will provide with my over all utilization with the credit bureaus.  I have grown to appreciate Walmart and have recently used the 0 internet financing for electronics!  Thanks!

  • Query Builder in 3.0 Can it be called and used as part of an application

    The query builder component is nice from an end user perspective. Can it be called in version 3.0 as part of an application? i.e. the user gets the tables listed in the app and can create the sql query as done when building the app? If so, does anyone know why not? Seems like all you'd have to limit it to would be the all_tables view where owner = 'application owner'. Has anyone tried to call this module?
    Bob

    HI Bob,
    No you cannot call the query builder from your application.
    You have a couple options though, one is to give the user developer rights, and then they can access the query builder, or you can search the forum for QBE, and that will generate 3 pages of hits. There's a couple generic variations out there that may suffice.
    Hope this helps,
    Bill Ferguson

  • Amanda; And creating user accounts BEFORE the build process

    I am trying to make a package for amanda (Advanced Maryland Automatic Network Disk Archiver) http://www.amanda.org.
    I have gotten everything to run fine, but the way the devs have set up their configure file (and the resulting build process),
    I HAVE to specify a user account that the program will run as. If I do not specify (and create an account) the PKGBUILD will not run. Is this normal?
    Is there a way to make the PKGBUILD create an account and a group? This account and group are need both DURING the build and during the install.
    It has to be a pre-existing user account.  Here is my PKGBUILD script:
    pkgname=amanda
    pkgver=2.6.0p1
    pkgrel=1
    pkgdesc="The Advanced Maryland Automatic Network Disk Archiver"
    url="http://www.amanda.org/"
    license=('BSD')
    depends=("glibc")
    #If you need amplot and/or samba support (for backing up windows clients) delete the line above and uncomment the line below this line
    #depends=("glibc" "samba" "gnuplot")
    install=(amanda.install)
    arch=('x86_64' 'i686')
    source=(
    http://downloads.sourceforge.net/amanda/amanda-2.6.0p1.tar.gz
    md5sums=('afadad80e0a27963a24b510755470983')
    build() {
    cd $startdir/src/amanda-2.6.0p1
    # These config options are documented at:
    # http://wiki.zmanda.com/index.php/Installation/Installing_Amanda_Source
    ./configure CFLAGS="-03 -Wall" \
    --with-user=amanda \
    --with-group=backup \
    --prefix=$startdir/pkg/usr/local \
    --with-amperldir=$startdir/pkg/usr/local/share/perl5/site_perl/5.10.0
    make || return 1
    make install prefix=$startdir/pkg/usr/local
    I would really appreciate some help (this is my first pkg)
    Also remember; this will not finish building without creating a user and a group
    #groupadd backup
    #useradd -g backup amanda
    Last edited by timetrap (2008-06-19 19:08:09)

    I didn't take it any farther than the first post. I became frustrated with the chicken/egg relationship with account/makepkg.
    The package works (as long as the user accounts are created first) if you can figure out a way around this issue feel free to update the pkg (then upload it to AUR).
    The nobody/nobody idea didn't work for me, I cannot remember the reason why. It had something to do with permissions. Let me know if you need any help.
    Last edited by timetrap (2009-01-01 03:12:17)

  • Unit Test in SQL Developer 2.1: Automated Builds

    Hi,
    I am interested to know if the new Unit Testing framework can be accessed via API so the test execution is initiated from automated build process.
    Regards,
    Vadim

    I am having a problem with the unit testing command line.
    I am attempting to run the unit testing using the command line interface.
    I can connect to UNIT_TEST_REPOS schema in SQL developer.
    I am successfully running units test and suites in SQL developer.
    UNIT_TEST_REPOS, RCSV1 and DEVER users are granted on the UT_REPO_USER role and UNIT_TEST_REPOS and DEVER on the UT_REPO_ADMINISTRATOR.
    The following commands result in an error box saying "No Repository was found on the selected connection, you need to create a repository." (The HELP button apparently does nothing. The OK button closes the box.)
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -exp -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo unit_test_repos -file c:\ut_xml\test.xml
    Unable to open repository
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -run -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo unit_test_repos -db dever
    Unable to open repository
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -run -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo dever -db dever
    Unable to open repository
    I would guess that I am not supplying the correct connection info.
    My last comment triggered an idea. It turns out that the connection names required are those connections named in SQL developer. In my case, they are not the same as the schema names. The following command worked as advertised.
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -run -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo UNIT_TEST -db DeverLocal
    The ANT target is
    <target name="UnitTests">
    <exec executable="cmd" dir="${sqldev.bin.dir}">
    <arg value="/c"/>
    <arg value="UtUtil -run -suite -name RCSV1 -repo UNIT_TEST -db DeverLocal"/>
    </exec>
    </target>
    Regards,
    Bill

  • How to call a ECC 6 Function module from BI 7 process chain

    Hi BI Gurus
    I wann to push the data from infocube to ECC 6 ( Tcurr) table  on a daily basis, and we have a function module written in ABAP and this FM is in ECC 6 sytem and we need to call this function module from BI inorder to update the TCURR table.
    I used ABAP programm in Process chain but i failed as i dint see any functionality for FM. i could see only abap programm.
    I need any you advise on this.
    thanks in advance

    Hi,
    If you are able to see the ABAP report of ECC 6, this ABAP report will inturn call this function module.
    Call the report in process chain.

  • Automated builds w/RH6 and RH7

    We use an automated build process (Visual Build Professional)
    that checks the RH files out of the source control software (we use
    Surround) and generates the Webhelp output using a Robohelp command
    line in the build script. Up until now, we used RH6 and the process
    was amazingly seamless. I'd check my source files into Surround at
    the end of the day and the next morning, the output would appear in
    the new build of our application.
    Sweet.
    The problem that I'm writing about happened when I upgraded
    my files to RH7 right after our last software release. While I'm
    having no problems generating output in RH7, the build engineer can
    no longer get it to work in the automated process. (Yes, we
    upgraded to RH7 on the build machine, updated the command line to
    RH7, and no, we're not trying to run the build across a network.)
    Since "my" step is causing the entire build to fail (oops),
    I've been asked to help figure out what's going on...
    Any thoughts to why RH6 would work in this scenario but not
    RH7?
    I should probably mention that we still need to support our
    last release, which was done in RH6. That means that RH6 and RH7
    are both installed on the build machine in case they need to
    rebuild the last version of the help. Are there any known issues
    with that? I haven't experienced any problems having em both on my
    computer, as long as I don't inadvertently open the RH7 version
    with RH6 and vice versa.

    RoboHelp creates an entry in the PATH environment variable
    and uses it for running from command line. If you have both RH6 and
    RH7 installed then most likely you have 2 entries for RoboHelp in
    the PATH variable. If you run RH7 command line and RH6's entry is
    before RH7's in the PATH variable then it would create problems.
    It can be fixed in the build script. Please make sure that
    entry for RH7 is before RH6 in the PATH variable if you wnat to run
    RH7 command line complier and vice versa if you want to run RH6
    command line compiler.
    e.g. (to set the path)
    set PATH="c:\program files\Adobe\Adobe RoboHelp
    7\RoboHTML";%PATH%
    Vivek.

  • Display invalid pattern name while calling the procedure inside the package

    Hi ,
    I'am trying to call a package which is having procedure ,from JDBC in which one of the return type is Varray from the procedure.When i'am calling the procedure inside the package
    from java showing invalid name pattern name.Just i'am placing the code snippet for package and calling java through package.
    Package body
    create or replace package body Rewards_Summary_Package as
    PROCEDURE Rewards_Summary_Procedure
    (v_Tot_Earned_Points OUT NUMBER, v_TOT_REDEEMED OUT NUMBER, v_TOT_PTS_EXP OUT NUMBER,
    v_TOT_AVAILABLE OUT NUMBER, v_TIER_NAME OUT VARCHAR2,VA OUT t_varray,V_PR_CON_ID IN VARCHAR2) AS
    v_ACCRUALED_VAL NUMBER := 0;
    v_USED_VAL NUMBER := 0;
    /*v_TOT_ACCRUALED_VAL NUMBER := 0;
    v_TOT_USED_VAL NUMBER := 0;
    V_PR_TIER_ID VARCHAR2(30);
    V_PR_CON_ID VARCHAR2(30);
    V_EXPIRY_DT DATE;
    v_month varchar2(30);
    v_date date;
    v_next_month_date date;
    v_TIER_NAME VARCHAR2(50);
    v_TOT_AVAILABLE NUMBER := 0;
    v_EARNED NUMBER := 0;
    v_TOT_EARNED NUMBER := 0;
    v_TOT_REDEEMED NUMBER := 0;
    v_TOT_EXPIRED NUMBER := 0;
    v_EARNED_TOTAL NUMBER := 0;
    v_TOT_EXPIRED_MONTH NUMBER := 0;
    v_TOT_PTS_EXP NUMBER := 0;
    v_TOT_RDMD_CANCELLED NUMBER :=0;
    v_TOT_EARNED_POINTS NUMBER :=0;*/
    v_FIRST_DT DATE;
    v_LAST_DT DATE;
    v_MEMBER_ID VARCHAR2(30);
    V_EXPIRED_VAL Number;
    v_TOT_PRDPTS_RDMD NUMBER := 0;
    v_TOT_PTS_RDMD NUMBER := 0;
    v_CAN_ACCRUAL_POINTS NUMBER := 0;
    BEGIN
    /*TotalRwdPoints and Tier Name*/
    SELECT TR.NAME,MEM.POINT_TYPE_A_VAL,MEM.ROW_ID INTO v_TIER_NAME,v_TOT_AVAILABLE,v_MEMBER_ID
    FROM SIEBEL.S_LOY_MEMBER MEM, SIEBEL.S_LOY_TIER TR WHERE MEM.PR_DOM_TIER_ID=TR.ROW_ID
    AND MEM.PR_CON_ID=V_PR_CON_ID;
    vTotPrdPtsRdmd
    SELECT NVL(SUM(A.VALUE),0) INTO v_TOT_PRDPTS_RDMD from SIEBEL.S_LOY_RDM_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND A.TYPE_CD='Product'
    AND A.TXN_ID IS NOT NULL;
    vTotPtsRdmd
    SELECT NVL(SUM(A.VALUE),0) INTO v_TOT_PTS_RDMD from SIEBEL.S_LOY_RDM_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND (A.TYPE_CD='Product' or A.TYPE_CD='Transfer')
    AND A.TXN_ID IS NOT NULL;
    vTotRewardPtExp
    SELECT NVL(SUM(A.VALUE),0) INTO v_TOT_PTS_EXP FROM SIEBEL.S_LOY_RDM_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND A.TYPE_CD='Expired'
    AND a.TXN_ID IS NULL;
    vCanAccrualPoints
    SELECT NVL(SUM(A.ACCRUALED_VALUE),0) INTO v_CAN_ACCRUAL_POINTS from SIEBEL.S_LOY_ACRL_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRIB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND A.TYPE_CD='Cancellation';
    v_Tot_Earned_Points := v_TOT_AVAILABLE+v_TOT_PRDPTS_RDMD+v_TOT_PTS_EXP-v_CAN_ACCRUAL_POINTS;
    v_TOT_REDEEMED := v_TOT_PTS_RDMD-v_CAN_ACCRUAL_POINTS;
    DBMS_OUTPUT.PUT_LINE(' Total Earned: '|| v_Tot_Earned_Points || ' Total Redeemed: '|| v_TOT_REDEEMED || ' Total Expired: '|| v_TOT_PTS_EXP
    || ' Balance Points: '|| v_TOT_AVAILABLE || ' Tier Name: '|| v_TIER_NAME);
    select trunc(sysdate,'MONTH') INTO v_FIRST_DT from dual;
    va:= t_varray(Null,Null,Null,Null,Null,Null);
    FOR a in 1 .. 6 LOOP
    select trunc(last_day(v_FIRST_DT)) INTO v_LAST_DT from dual;
    SELECT SUM(AI.ACCRUALED_VALUE),SUM(AI.USED_VALUE) INTO v_ACCRUALED_VAL,v_USED_VAL from SIEBEL.S_LOY_ACRL_ITM AI,SIEBEL.S_LOY_ATTRDEFN A
    WHERE AI.MEMBER_ID = v_MEMBER_ID AND A.ROW_ID = AI.ATTRIB_DEFN_ID AND A.INTERNAL_NAME = 'Point 1 Value'
    AND trunc(AI.EXPIRATION_DT) >= v_FIRST_DT AND trunc(AI.EXPIRATION_DT) <= v_LAST_DT;
    V_EXPIRED_VAL := NVL(v_ACCRUALED_VAL-v_USED_VAL,0);
    va(a):=V_EXPIRED_VAL;
    v_FIRST_DT := add_months(v_FIRST_DT,1);
    End loop;
    END;
    end;
    Package declaration
    create or replace package Rewards_Summary_Package as
    TYPE t_varray IS VARRAY(6) OF NUMBER;
    PROCEDURE Rewards_Summary_Procedure
    (v_Tot_Earned_Points OUT NUMBER, v_TOT_REDEEMED OUT NUMBER, v_TOT_PTS_EXP OUT NUMBER,
    v_TOT_AVAILABLE OUT NUMBER, v_TIER_NAME OUT VARCHAR2,VA OUT t_varray,V_PR_CON_ID IN VARCHAR2);
    end;
    java code
    I had tried using java types and Oracle types
    conn=SiebelServiceDatasource.getConnection(SSBConstants.REWARDS_PROP_LOG_SUFIX);
    // ArrayDescriptor.TYPE_VARRAY
    ocstmt=(OracleCallableStatement)conn.prepareCall(" {call REWARDS_SUMMARY_PACKAGE.REWARDS_SUMMARY_PROCEDURE(?,?,?,?,?,?,?)}");
    //ocstmt=(OracleCallableStatement)conn.prepareCall(" call Test_Array(?,?)");
    ocstmt.registerOutParameter(1,OracleTypes.INTEGER);
    ocstmt.registerOutParameter(2,OracleTypes.INTEGER);//1-616BH
    ocstmt.registerOutParameter(3,OracleTypes.INTEGER);
    ocstmt.registerOutParameter(4,OracleTypes.INTEGER);
    ocstmt.registerOutParameter(5,OracleTypes.VARCHAR);
    ocstmt.registerOutParameter(6,OracleTypes.ARRAY,"SIEBEL.T_VARRAY");
    ocstmt.setString(7,contactSiebelRowId);
    ocstmt.execute();
    Showing the following invalid name pattern SIEBEL.T_VARRAY
    Please help
    Thanks in advance
    Kiran

    create or replace package Rewards_Summary_Package as
        TYPE t_varray IS VARRAY(6) OF NUMBER;
    end;You've declared your type inside the package. You need to declare it as a SQL type, which is not part of a PL/SQL package.

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • I am have problems with the ipad mini, it is a little crazy. It controls by itself, opens and closes application zooms in and out, end my facetime calls, Also Un certain part of the screen is no longer responsive to the touch.

    I am have problems with the ipad mini, it is a little crazy. It controls by itself, opens and closes application zooms in and out, end my facetime calls, Also Un certain part of the screen is no longer responsive to the touch, it Should be having so much problems. Thanks for your help.
    iPad, iOS 7.0.4

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • I was not given the option to purchase applecare + with iPhone 5.I tried calling Apple customer service, the automated process took my info but then came back and said too busy to help you now. How can I buy it now?

    I was not given the option to purchase applecare + with iPhone 5.I tried calling Apple customer service, the automated process took my info but then came back and said too busy to help you now. How can I buy it now?

    You should call Apple but you should get an email from Apple. I got one a few minutes ago and this is what they said about AppleCare+ :
    Thank you for your recent iPhone 5 purchase at the Apple Store.
    We would like to let you know that every iPhone comes with one year of hardware repair coverage through its limited warranty and up to 90 days of complimentary support. AppleCare+ for iPhone extends your coverage to two years from the original purchase date of your iPhone and adds up to two incidents of accidental damage coverage, each subject to a $49 service fee.
    We noticed you weren't given the opportunity to add AppleCare+ to your iPhone. If you would like to extend your coverage for only $99, please reply to this email by September 21st.
    After that date, if you would still like to purchase AppleCare+ within the first thirty days of receiving your iPhone, you can call AppleCare at 800-MY-IPHONE or visit an Apple Retail Store.
    Thank you for shopping with Apple.
    Sincerely,
    Apple Online Store Team

Maybe you are looking for