Package's names???

How to get all Package's names. java.lang.Package[code/] return only few names.                                                                                                                                                                           

Thanks for ur reply.
Yes I got the application work on the phone.
The problem is I had some packages with standard names including java. , javax. etc. After I changed all the names it works well with the phone.
But i'm using some already existing classes. so i want to have the original package names. What should i do to to have those packages with original name. It is a must for me.

Similar Messages

  • JPublisher generated wrapper package function name contains "ORIG_PKG"$FN

    jPublisher generated wrapper package function name contains "ORIG_PKG"$FN
    which shows compilation error as
    Compilation errors for PACKAGE BODY <schema>.JPUB_PLSQL_WRAPPER
    Error: PLS-00181: unsupported preprocessor directive '$FN'
    Line: 2699
    Text: FUNCTION "ORIG_PKG"$FN (P_SOURCE VARCHAR2,
    Along with this, the generated .sqlj file have a calling sqlj content having the same format as
    #sql [getConnectionContext()] __jPt_result = { VALUES(JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN( ...
    This also show sqlj compilation error such as
    Error(91,5): Expected "$FN" and found ")" instead.
    and a warning
    Warning(91,5): Invalid SQL syntax at:
    JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN(
    ^^^^
    Encountered "$FN" :
    Was expecting one of:
    <EOF>
    "AND" ...
    "BETWEEN" ...
    "IN" ...
    "IS" ...
    "LIKE" ...
    "NOT" ...
    "OR" ...
    "ROW" ...
    "AT" ...
    "MOD" ...
    "RANGE" ...
    <CONCAT_OP_> ...
    Any suggestion would be helpful. thank you.

    Just to put a proper closure to this thread, there were 2 issues with the Jdev version I was using (11.1.2.0.0)
    1) Wrapper for PL/SQL not getting generated properly.
    2) Webservice proxies are not getting generated properly.
    The 2 issues were taken care by generating the wrapper and proxy on a much higher version of Jdev.

  • Creating Packages Recource Name Question

    I am trying to create a package combining the data grim a LightSwitch control. I have the following code in my application folder. but I don't know what to put in for the string ResourceName. I am trying to add this data to the excel Zip file in a way that
    it "creates" the table overwriting the current sheet1 and replacing it with one that has the Data From the Entity/Silverlight screen's grid which is filter by another table selecting the orders for a person. I get a Null not handled exception I believe
    because I am not address the resource right. Also were am I supposed to put the reference to the filtered Grid I am trying to access I am very new at building packages this way. also note there is code to Open(process Start) the other excel file but I can't
    seem to place it so it fires after the code for building the package runs this is necessary because the Process started package has links to the book1 I am trying to build.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO.IsolatedStorage;
    using Microsoft.LightSwitch;
    using Microsoft.LightSwitch.Security.Server;
    using Microsoft.LightSwitch.Framework.Server;
    using System.IO;
    using System.IO.Packaging;
    using System.Reflection;
    //added this to allow the process statement that opens excel
    using System.Diagnostics;
    using System.Linq.Expressions;
    namespace LightSwitchApplication
    public partial class ApplicationDataService
    private string _PackageName = "Book1.xlsx";
    partial void Commands_Inserting(Command entity)
    switch (entity.Argument)
    case "CreateDocument":
    //This opens the excel file from the current directory
    Process.Start("MAR mod1.1.xlsx");
    entity.Result = _PackageName;
    //Package, file name and Uri location
    Package package = Package.Open(_PackageName, FileMode.Open);
    Uri uri = new Uri("/xl/worksheets.sheet1", UriKind.Relative);
    //Content Type for Each Part
    PackagePart DocPart = package.CreatePart(uri, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml");
    string ResourceName = "Book1.xlsx.zip/xl/worksheets/sheet1.xml";
    Assembly ResourceAssembly = Assembly.GetExecutingAssembly();
    using (Stream DocPartStream = DocPart.GetStream(FileMode.Create))
    using (Stream DocSourceStream = ResourceAssembly.GetManifestResourceStream(ResourceName))
    DocSourceStream.CopyTo(DocPartStream);
    package.CreateRelationship(uri, TargetMode.Internal, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", "rID1");
    package.Close();
    break;
    Exception Detail
    System.NullReferenceException was unhandled by user code
      HResult=-2147467261
      Message=Object reference not set to an instance of an object.
      Source=Application.Server
      StackTrace:
           at LightSwitchApplication.ApplicationDataService.Commands_Inserting(Command entity)
           at LightSwitchApplication.ApplicationDataService.DetailsClass.__Commands_Inserting(ApplicationDataService d, Command e)
           at Microsoft.LightSwitch.Details.Framework.Server.EntitySetEntry`2.Microsoft.LightSwitch.Details.Framework.Server.IEntitySetEntry.InvokeInserting(IDataService dataService, IEntityObject entity)
           at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceImplementation`1.<>c__DisplayClass40.<PerformPreEvent>b__3a(IEntitySetEntry entitySetEntry)
           at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceImplementation`1.<>c__DisplayClass43.<CallPrePostUserCode>b__42()
           at Microsoft.LightSwitch.Utilities.Internal.UserCodeHelper.CallUserCode(Type sourceType, String methodName, String instance, String operation, ILoggingContext context, Action action, String additionalText, Func`1 getCompletedMessage,
    Boolean tryHandleException, Boolean swallowException, Exception& exception)
      InnerException:

    Thanks I have been doing research watching following video and this is my updated code in application.cs. I got the resource into my project manually by copying the whole zip file contents into the project file and then in file view I deleted and rebuilt
    the xml resource sheet 13 making it an embedded resource and left the rest of the package alone.
    video
    //This is what I have on the ApplicationData.cs end of things
    private string _PackageName = "Book1.xlsx";
    partial void Commands_Inserting(Command entity)
    switch (entity.Argument)
    case "CreateDocument":
    //This opens the excel file from the current directory
    Process.Start("MAR mod1.1.xlsx");
    entity.Result = _PackageName;
    //Package, file name and Uri location
    Package package = Package.Open(_PackageName, FileMode.Open);
    Uri uri = new Uri("/xl/worksheets.sheet13", UriKind.Relative);
    //Content Type for Each Part
    PackagePart DocPart = package.CreatePart(uri, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml");
    string ResourceName = "Patient Records.Server.Package.xl.worksheets.sheet13.xml";
    /*"Book1.xlsx/xl/worksheets/sheet1.xml";*/
    Assembly ResourceAssembly = Assembly.GetExecutingAssembly();
    int buffer;
    using (Stream DocPartStream = DocPart.GetStream(FileMode.Open))
    using (Stream DocSourceStream = ResourceAssembly.GetManifestResourceStream(ResourceName))
    buffer = DocSourceStream.ReadByte();
    while (buffer != -1)
    DocPartStream.WriteByte((byte)buffer);
    buffer = DocSourceStream.ReadByte();
    package.CreateRelationship(uri, TargetMode.Internal, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet", "rId13");
    package.Close();
    //opens the new package
    Process.Start("Book1.xlsx");
    break;

  • Package/procedure name

    Hi,
    what is the package/procedure name that helps to run sql statement.
    I hope DBMS_SQL is the package that helps to run sql statemanet in oracle.
    Please correct me if i am wrong....
    Thanks

    Murali wrote:
    Hi,
    I just want to know which package helps to run sql statement in oracle.
    Thanks.There is no package that runs all SQL in Oracle. SQL is executed through the basic Oracle software. DBMS_SQL will run dynamic SQL but dynamic SQL is seldom needed and when it is needed there are usually easier ways to do it - usually reference cursors or EXECUTE IMMEDIATE. For selects DBMS_SQL requires a LOT more work than the other two methods: you have to define the select fields, define the query (the other methods require this step), create variables to hold the results, parse the sql, and execute the SQL.
    Reasons to use DBMS_SQL are when the other methods of dynamic SQL won't work
    * result set from query is unknown at run time (which may be a design problem)
    * generated SQL statements is > 32K, longer than PL/SQL supports for a text value (again, design needs to be considered)

  • Package's name change? / makepkg can't fetch sources from my URL!

    My next package to submit to the AUR has had an official namechange from z80 Assembly IDE to Wabbitcode. The program still displays the old name; however, it is going to be changed soon. Therefore I am torn on what name to use, seeing as it does not look like you have an option later to change a package's name. Would it still be all right to use the newer name in the PKGBUILD even though it is still using the older one? (until it gets updated with a new name in a little while)
    Last edited by violagirl23 (2008-08-10 21:22:34)

    violagirl23 wrote:
    Okay... then I have one more question. I'm trying to build in the md5sum check; however, my knowledge of bash is limited and I'm obviously doing something wrong. I am having it abort if the sums do not match... but right now it is always aborting, even if they do. Could somone tell me what I am doing wrong?
    build()
    cd ${srcdir}
    wget "http://www.revsoft.org/phpBB2/download.php?id=370" -O z80asmide-1.2.tar.gz
    md5sum z80asmide-1.2.tar.gz > MD5SUM
    MD5SUM1=MD5SUM
    if [ ${MD5SUM1} != "0a9c4523cf1416660217904652134593 z80asmide-1.2.tar.gz" ]; then
    echo "ERROR: MD5 checksums do not match. Aborting...."
    exit 1
    fi
    rm MD5SUM
    bsdtar -x -f z80asmide-1.2.tar.gz
    cd ${pkgname}-${pkgver}
    make || return 1
    mkdir -p $pkgdir/usr/bin/
    make install DESTDIR=$pkgdir
    Actually, I wouldn't put wget in build. I would just run it manually.
    That way, when 3.2.1 is released, you don't have to edit that PKGBUILD again, the normal one will already work just fine.
    That would also avoid you that md5 problem altogether. it is way too overkill to re-implement that in the build() function. Don't do that
    Just for your information (ie for educational purpose, not actual use), try this :
    sum=$(md5sum z80asmide-1.2.tar.gz | awk '{print $1}')
    [ $sum != "0a9c4523cf1416660217904652134593" ] && return 1
    Edit : I just saw catwell beat me to it with a slight alternative which is all fine too

  • How to obtain a list of all extra packages by name only

    Please advise how to obtain a list of all extra packages by name only capable of being included in a file.

    Romashka wrote:
    stonecrest wrote:
    Penguin wrote:mine's faster 
    running abs? i think not
    Where do you see here running abs???
    for each in $(ls /var/abs/extra);do ls /var/abs/extra/$each; done >file
    You need to run abs before using the above line. Penguin's method uses the abs tree. If you don't have an up-to-date tree, your list will be inexact.

  • How to search for packages that Names including "'" [solved]

    Hi everyone
    first ,forgive my english lvevel
    and I want to know
    How to search for packages that Names including "'"
    for instance
    $ pacman -Ss America's Army
    it returned
    >
    Please help me ,many thanks!
    Last edited by icywalk (2010-04-05 13:09:26)

    fyi America's Army in the AUR as armyops if you're looking for it.

  • How java handles package/class names

    I am developing a strategy for internationalizing our company's middle-ware product. While I have no problem with the GUI's, exceptions, log files etc, I have no concept of how things like classpaths and packages can be specified in an asian language.
    For instance, if I have configuration information of com.abccompany.mypackage.MyClass, what will this look like to the asian user? Will they be able to change it to perhaps com.abccompany.mypackage.MyClass2 by entering localized data in Chinese or Arabic? I don't understand how this part works. On the command-line, will they type English script names? Do they run commands like so: java -cp com.abc.pkg1.jarfile.jar MyClass? Will my english filenames, packages, etc be represented in asian characters?
    We have a lot of configuration information that specify java classes as String data. I am concerned about the ability to modify this data and have it work correctly in languages that do not use the ascii character set. Is this something I need to be worried about?
    I appreciate any input. Thanks in advance.

    You do not need to warry about configuration information of com.abccompany.mypackage.MyClass
    and command-line no matter what languages used in Asia. Asian users also type in English script names or java -cp com.abc.pkg1.jarfile.jar MyClass as you do so. The only thing you need to note is
    that any text strings or messages which you want to show on any panel/dialog/window/frame and so on should be store in a resource file for internationalizing.

  • Package body name in script - Oracle SQL Developer Data Modeler 3.0.0.6.

    Hi,
    I have problem with package body full name. In package body properties I have my <schema_name>. But there is something like "user5" insted my <schema_name> in package body script. I replaced it and saved it. But, when I re opened package body, there is user5 again, while name of package is OK.
    Can I set some property to stay there my schema_name?
    Thank you.
    Stefan.
    Edited by: user13617034 on 4.4.2011 5:10
    Edited by: user13617034 on 4.4.2011 5:12

    SQL Server Physical model doesn't save table identity column.
    here are the steps to get this bug:
    1. create a table in relational model with a column as an integer to be used as an identity.
    2. create or open a physical model for SQL-SERVER 2005
    3. open the table in the physical model
    4. edit the integer column property dialog
    5. tick the identity check box and close the property dialog
    6. save the model and close it
    7. open it again, you will find the identity check is removed! (probably not saved from the start)

  • PL/SQL, synonyms to packages and name resolution

    I have some question about name resolution in PL/SQL. First, I need to describe situation, because it is quite complicated.
    There are three schemas: A1, B1 and O. A1 and B1 are containing proprietary software and I cannot modify objects there (but I can modify configuration tables, so in this way I can call any package from anyhere). O schema is my own schema. A1 and B1 schemas are in one "module", there are also A2 and B2 schemas in second "module" and AN and BN in n-th "module".
    In normal situation, A1 schema contains synonym to package B1.PKG (on B1 schema) and uses it to call B1.PKG with DEFINER rights. The same for every "module".
    I need to extend some functionality of B.PKG by buliding some kind of "wrapper" on my own O schema. It is only one MY_PKG and should be used by every "module". In this place I need some kind of magic :)
    I want to place package MY_PKG with AUTH_ID CURRENT_USER clause on my O schema and use A1..AN schema to call it. Package MY_PKG have to call package placed on one of B1..BN schemas, so I need to create synonym on O schema for package, for example, B1.PKG just to compile the MY_PKG package.
    Now, I call MY_PKG package from A1 schema and I expect MY_PKG will use synonym to B1.PKG placed on A1 schema, instead of using synonym on my O schema. That's not happening. MY_PKG still uses synonym on O schema, so it ruins whole concept :)
    Actually, I use some set of packages that already work properly in that way, but there is some difference. In my other packages I use SQL and synonyms to tables and views placed on _one_ A schema. I use those synonyms only for compiling. When packages are calling from A1..AN schemas, they use proper objects on proper A1..AN schema. In this case I try to do the same, but with package instead of tables and view. I find it difficult probably because SQL and PLSQL resolves names in other way.
    Here is the question, is it possible to make such thing as decribed above? Of course, I can use execute immediate to run proper packages directly from O schema, but I don't want :)
    Sorry for my bad english, I hope you understand whole concept.
    DB version: 11.2.0.3

    The documentation is pretty clear that invoker rights applies only to certain statements...
    Using PL/SQL Subprograms
    SELECT, INSERT, UPDATE, and DELETE data manipulation statements
    The LOCKTABLE transaction control statement
    OPEN and OPEN-FOR cursor control statements
    EXECUTEIMMEDIATE and OPEN-FOR-USING dynamic SQL statements
    SQL statements parsed using DBMS_SQL.PARSE()
    So clearly static PL/SQL references will not be resolved in this way.
    I can't actually remember (I have found AUTHID CURRENT_USER to be very rarely useful) but you may be able to get around this by executing dynamic PL/SQL blocks but given the potential downsides of dynamic SQL and PL/SQL you almost certainly don't want to.

  • How to change code completion package proc name be inserted in origin case?

    Hi,
    it seems like the code completion for package function/procedure name is inserted in UPPER case. Is it possible to configure it to insert the name according to the exact case like what I typed in the package?
    Please advise.
    Thank you.

    Not at the moment.
    They are supposedly working on improved code insight and this option may be included.
    If you want it, you can add it to sqldeveloper exchange (or vote for an existing request)

  • Package Group Name Change

    Hello Experts
    I have already searched for any related postings on the Package Group. I could not find any. I dont know why everytime my posting gets removed from the list.
    There are some postings on Package and Function Groups only - which are irrelevant for my issue.
    Kindly help me out on the below queries or plz provide some links on the same.
    What is a Package Group? What is the purpose of it?
    How can I change the name of a Package Group? Is there any TCodes we use for it?
    Which Table stores the name of all Package Groups?
    Please share your ideas on the above queries...
    Thx
    Santo
    <<Text removed by moderator>>
    Edited by: Matt on Nov 17, 2008 9:39 AM

    Hi,
    Do you mean info Package group??
    Check out these threads
    what is diff between info package group and  process chain
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65b5e07211d2acb80000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/41/243d3828135856e10000009b38f842/content.htm
    Regards
    Mudit

  • Package's name  compilation error

    This compilation of the code fails :
    package JARUPRUE;
    public class JARUPRUE {
        public void getKey() {
               JARUPRUE jr = new JARUPRUE.JARUPRUE();
    JARUPRUE/JARUPRUE.java:6: cannot find symbol
    symbol  : class JARUPRUE
    location: class JARUPRUE.JARUPRUE
            JARUPRUE jr = new JARUPRUE.JARUPRUE();This code compiles OK changing the package name, if the new name is not the same as the class name !!!
    This is a real problem for us because the new IBM sqlj precompiler generates code like this. Really, our programs package structure has the same name (class and package) and the code generated by the precompiler causes this. We have hundred of programs with the same package and class name.
    Is this a bug? How could we address this issue?

    Thanks for your response.
    I can't see it, you do?. No, but I'm not looking really.I was talking about the sqlj's command output, where I can't see an option to fix the problem.
    >
    Maybe it's something about your source code?
    In any case I find it impossible to believe that a language rule that was always present and started being correctly enforced in 1997 is unknown to IBM's authors of their SQLJ preprocessor.Every single .sqlj source file, when precompiled, generates this java code (at the end of the source file):
    class JARUPRU5_SJProfileKeys                                                                                                          
      private java.lang.Object[] keys;                                                                                                                                                
      private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());                                                      
      private static JARUPRU5_SJProfileKeys inst = null;                                                                                                                              
      public static java.lang.Object getKey(int keyNum)                                                                                                                               
        throws java.sql.SQLException                                                                                                                                                  
        synchronized(JARUPRU5.JARUPRU5_SJProfileKeys.class) {                                                                                                                                  
          if (inst == null)                                                                                                                                                           
            inst = new JARUPRU5_SJProfileKeys();                                                                                                                                      
        return inst.keys[keyNum];                                                                                                                                                     
      private JARUPRU5_SJProfileKeys()                                                                                                                                                
        throws java.sql.SQLException                                                                                                                                                  
        keys = new java.lang.Object[1];                                                                                                                                               
        keys[0] = JARUPRU5_DBHOS_HCTX.getProfileKey(loader, "JARUPRU5.JARUPRU5_SJProfile0");                                                                                          
    } ... as you can see the code "synchronized(JARUPRU5.JARUPRU5_SJProfileKeys.class)" is the code that fails and its generated automatically and we cannot handle it. DB2 9.5 builds this code, while previous versions don't. I think that nobody in the world uses SQLJ (really a thing of the past) and at the same time nobody use packages as classnames.
    We have modified our build scripts to remove the package name from that line (before calling javac) and thus, continue with the migration of our applications.
    Thanks for your ideas.

  • Bc4j Package Path/name Question

    I am using this below mentioned package name, I just want to make sure my customizations are free from PATCHes.
    oracle.apps.pay.xxxabc....
    is it going to be ok? Please help.

    You should use xxYOURCOMPANYIDENTIFIER.oracle.apps.pay....
    --Shiv                                                                                                                                                                                           

  • Getting rid of "Folder" in suggested packaged folder name?

    We have several InDesign users in my department. In attempting to drive consistent and unique filenames for our packaged (and zipped) folders, I created a process so all delete "Folder" from the suggested package name before packaging. I'd love to make this process easier in eliminating this step.
    Can you please tell me if you know of a way to keep InDesign from automatically adding "Folder" to the end of a suggested package name?
    Thank you!

    There's no preference or anything that allows you to adjust the naming convention, you could probably script it though.

Maybe you are looking for

  • Can i merge two Apple ID's?

    can i merge two Apple ID's? I have one with me.com and one neutral one. would love to have just the me.com Apple ID. How do I merge??

  • SXI_MONITOR: Scheduled for Outbound Processing

    Hi folks, After a connection problem with AE, now already fixed. Iu2019m experiencing a strange issue!! It occurs at only one interface where the message gets stuck at SXI_MONITOR with the status u201Cscheduled for outbound processingu201D without an

  • Issue with importing data using data pump

    Hi Guys, Need your expertise here. I have just exported a table using the following datapump commands. Please note that I used *%U* to split the export into chunk of 2G files. expdp "'/ as sysdba'" dumpfile=DP_TABLES:PT_CONTROL_PS_083110_*%U*.dmp log

  • Widget Info

    Hi Widget Gurus, I just came across the term widgets few days back, & I am very excited to know more about it. I am an abaper & would appreciate , if some body can guide to : 1.Good tutorials on SAP widgets. 2.Basic skill sets to start writing code f

  • I got notification for updates in app store but when i tried to open the updates section it shows blank

    I have 5 notification for app updates in my appstore. I tried to open the "App Store" app and tried update tab below. It started loading but after few seconds it showed me nothing but a blank page i have good internet connection and all other tabs op