Package name when the doman name contains "-"

Recently I'm working for a project for a company whose domain name like www.my-donkey.com. By convention, the Java package name should start with com.my-donkey.xxx, unfortunately the hypen is not allowed in the package name.
What is the standard Java convention to address this?

Remember that the package naming convention is exactly that: a convention. It isn't a rule, nothing checks them and you don't have to follow it. It was just an idea that someone came up with to make it less likely that package names from different organisations would collide. Go with Kaj's idea, package names don't have any legal ramifications or anything

Similar Messages

  • How to get siri to recognize another contact name, when the contact name she has does not exist.

    Siri could not understand me when I asked it to call my husband, (he has a name I have a hard time pronouncing) so I put in a middle name for siri to understand.  I then deleted the middle name from his contact, however, siri still tries to text/call that contact when prompted even though it does not exist.

    Hi Romano & Detlev ,
    Thanks for the reply .
    This is what I was looking
    Detlev:
    About the NPE ... in the above code I am not getting that.
    Thats my mistake
    Earlier I tried with
    IResource rsrPublished  = (IResource)event.getParameter();
    String rid = rsrPublished.getRID().toString();
    In the second line of code I was getting the NPE
    after that I used to if condition to debug it
    Sorry for the confusion...
    One more thing
    which is the event triggered for approval or how to capture the Approval Event when a content is approved by the Approver
    thanks
    pk

  • TS3833 I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    Right click the filename that won't download and selsct 'Get Info'. Look at the file path, does it have a //?// in it? That is a problem with Amazon downloads that prevent iTunes from finding the file. Use 'Add Folder' to add the album to your library and try syncing it again

  • How can i get value when the field name is user's defined

    Hi,
    I have a one java method:
    public ResultSet countUserDb(String id) {
    ResultSet rs = null;
    con = dbcon.connect();
    String queryString = ("select count as count from
    db_allocation where user_id='"+id+"'");
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery(queryString);
    When i call it in a jsp file.
    ResultSet counter =db.countUserDb(request.getParameter("id"));
    if(counter.next())
    int x=rs.getInt("count");
    Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
    Best regards
    Ricky

    You should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
    Example
    SQL:
    Select ename as employeename from emp;
    You should say :
    ResultSet.getString("employeename"); to get the value.
    Alternatively you can retrieve it using column number:
    ResultSet.getString(1);
    Chandar

  • The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The Acrobat 9.x product family passed into "End of Support" mid-year of 2013.
    Acrobat 9 support of MS Project via PDFMaker stops with Office 2007.
    For Office 2013 support you must use Acrobat XI (11.0.1) or newer. 
    A good to have reference:
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Acrobat Pro and Standard DC are what are currently available for purchase. 
    Be well...

  • How can i get the value when the field name is user defined

    Hi,
    I have a one java method:
    public ResultSet countUserDb(String id) {
    ResultSet rs = null;
    con = dbcon.connect();
    String queryString = ("select count(*) as count from
    db_allocation where user_id='"+id+"'");
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery(queryString);
    When i call it in a jsp file.
    ResultSet counter =db.countUserDb(request.getParameter("id"));
    if(counter.next())
    int x=rs.getInt("count");
    Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
    Best regards
    Ricky

    Hi Ricky
    To access pseudo columns you can specify an alias or use the index on the column (e.g. getInt(1)).
    Chris
    NB: you should use bind variables instead of concatenating the id to the SQL statement.

  • I know the name of an object - how do I get the name of the object that contains it?

    If I have a Movieclip, I can trace the name of the Movieclip
    that contains it using the _parent property.
    With a generic object, is there a way to trace the name of
    the object that contains it?
    Please, please tell me - this will be a huge help.
    Thanks

    Thanks for these comments - my problem isn't with MovieClips.
    I need to know if there is something which is the generic Objects
    equivalent to the MovieClips _parent property.
    Here's some code that hopefully will help explain further:
    class MyClass extends Object {
    var myObject:Object;
    function MyClass (){
    myFirstObject = new Object();
    myFirstObject.theParent = this;
    private function getNameOfParent(p_object:Object){
    // Some code to return the name of the object that contains
    p_object
    trace(p_object.__proto__); // Output: [object Object]
    trace(p_object._parent); // Output: undefined
    trace(p_object.theParent); // Output: [object Object]
    return ???
    public function doSomething(p_num:Number){
    var parentName = getNameOfParent(myObject);
    // do some more action...
    Timeline code:
    var myClass1 = new MyClass();
    myClass1.doSomething();

  • Can I use firefox in webview? what is the package name and the activity name?

    Can I use firefox in webview? what is the package name and the activity name?
    I saw : intent.setClassName("com.tencent.mtt", "com.tencent.mtt.MainActivity");
    but what is the name for firefox?

    rahulmcadit wrote:
    The phone is from UK and the carrier on which phone has been locked is "ORANGE". I want to use the same phone in India. I want to unlock the phone. Can you please suggest me what is the procedure to unlock the phone. How can I pay the amount to ORANGE carrier and can use my iphone in India.
    Contact ORANGE to unlock it.
    See this -> http://support.apple.com/kb/HT5014

  • Problem in executing jar when the folder name has empty space

    Hi,
    I need to run my java swing application on double clicking the jar file. It works fine when the file path has no empty spaces in the folder name. It doesnt open when the folder name has spaces in between them. Can anyone let me know how to resolve it.
    String workingDir = new File("SwingApplication").getAbsolutePath();
    String cmd = "java -jar " ++workingDir ++"/SwingApplication.jar";
    Runtime.getRuntime().exec(cmd);This works fine when the SwingApplication.jar is inside for eg: c://{color:#ff0000}RunApplication{color}/SwingApplication.jar
    but the application doesnt open if the file path is c://{color:#0000ff}Run Application{color}/SwingApplication.jar

    javaquests wrote:
    ..ProcessBuilder pb = new ProcessBuilder("java -jar");
    pb.directory(new File(workingDirPath + "/SwingApplication.jar"));
    Process p = pb.start();
    . but getting an exception
    java.io.IOException: Cannot run program "java -jar" (in directory "C:\Run Application\SwingApplication.jar"): CreateProcess error=267, The directory name is invalidWhile..
    C:\Run Application\..might be a directory, is..
    C:\Run Application\SwingApplication.jar?
    I was thinking something more like this (untested)..
    String path = workingDirPath + "/SwingApplication.jar";
    String[] command = {
         "java",
         "-jar",
         path
    ProcessBuilder pb = new ProcessBuilder(command);
    Process p = pb.start();BTW - when posting code, code snippets, HTML/XML or input/output, please use the code tags. The code tags protect the indentation anf formatting of the sample. To use the code tags, select the sample and click the CODE button.

  • No clickabel title shown when the search result containing .xlsx Office Excel 2010 file

    in sharepoint 2013 search, everything works fine. but there is no tiltle shown when the search result contains xlsx items. and no issue at all on both docx, pptx, and even xls extension, which is lower than office 2010, any ideas?

    Does the April 2015 CU fix that bug? I don't see it written in the CU's description. Regards
    We found out, that it does not fix the problem and so we digged into it a little deeper. First thing is that our
    documents from FileShares without set metadata are those without clickable titles in search results. So one solution might be to start setting metadata for all those documents correctly, but who would want to do that. We would expect the enginge
    to find something as title anyways, i.e. at least the documents name.
    For finding a valubale title out of the documents there is the "MetadataExtractorTitle" component as MappedProperty for the ManagedProperty "Title". Unfourtenatly this component seems to be a little bit bugy. It looks like that in some
    cases it does not correctly return that it couldn't find anything for the document to be used as title.
    Since this component is on pole position in the priority list of "Title" it leads to search results without clickable titles in such cases, where the extractor returns an empty result.
    So what we did is to move MetadataExtractorTitle to the end of the priority list, so the engine at first evaluates the documents properties the classic way. We had to do a IndexReset and a FullCrawl to completely
    apply this workaround. After this we did not get search results without clickable titles anymore. 
    I hope this also helps in your cases.
    You can also get some information about this issue in this blog post: http://consultant.tamjid.com/425/fixed-search-results-not-showing-document-titles/
    Regards

  • Name Error: The domain name does not exist

    Hi,
    I get this error when I try to create a view inside a web dynpro from se80 transaction
    " Name Error: The domain name does not exist. "
    Can anyone help me to solve this error ?
    Thanks !!

    Hi,
    did you carry out the necessary <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/e86de5008b4d9ae10000000a155369/frameset.htm">configuration</a> in your system? Note especially the need for fully qualified domain names (FQDN): <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm">FQDN</a>
    Regards, Heidi

  • Alias name for the column name in Prompt

    Hi,
    I have a scenario where I am taking column names into prompt. I have used the following SQL in the SQL results under "Show" option of the Prompt.
    SELECT CASE WHEN 1=0 THEN AGE.AGE ELSE '"Orders"."By OrderDate"' END FROM " Real Time"
    UNION ALL
    SELECT CASE WHEN 1=0 THEN AGE.AGE ELSE '"Orders"."By ShipDate"' END FROM "Real Time"
    My problem here is I am getting the column names into the Prompt as "Orders"."By OrderDate" and "Orders"."By ShipDate", which is not acceptable and readable for mat for the user. Is there any way that I can assign an alias name for the column name such as OrderDate and ShipDate in the above SQL.
    Your quick respose is appreciated.
    Thanks,
    Rama

    hi,
    try an alternative one....in your administrator make new columns with alias to ones you want...so you wiil be able to show whatever you want.
    Otherwise,is it possible to show
    SELECT CASE WHEN 1=0 THEN AGE.AGE ELSE '"Orders"."By OrderDate"' as "xxxxxxxxxxxxx"END FROM " Real Time"
    UNION ALL
    SELECT CASE WHEN 1=0 THEN AGE.AGE ELSE '"Orders"."By ShipDate"' as "yyyyyyyyyyyyyyyy"END FROM "Real Time"
    Ending,you want the data from your columns?or just the name??
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • How can I change the "folio name" and the "publication name?

    Hello,
    We have posted a Multi-folio App a single folio in it.
    We would like change the "folio name" and the "publication name” and we tried to do this using the dashboard. However, when clicking “update” we unchecked the “update content” checkbox, because there are no changes to the folio’s content. The problem is that this didn’t change anything in the app: both the "folio name" and the "publication name” remain unchanged…
    Is it possible to do this without having to repost this folio?
    Thanks!
    Olivier.

    The metadata is considered part of the content. Click update again and leave the "update content" checkbox checked.
    Neil

  • How to find the project name given the exit name

    Hi I have the exit EXIT_SAPMM06E_016 to modify but i dont know how to find the already existing project name
    plz help

    Hi,
    SAP user exits (enhancement names that we see in SMOD transaction) are all stored in the table MODSAP. The field NAME contains the enhancement name and the field MEMBER contains the name of the function module that will be called if the customer enhancement exists and is active. The customer enhancement projects are stored in the table MODACT. There, the NAME field is the name of the project and MEMBER is the name of SAP enhancement (that from the MODSAP).
    Regards
    Raju

  • How do I do a mass change of face names in iphoto?  For example, I have 500 pictures named Michelle Smith, but she is married and is now Michelle Johnson.  How do I change all the photo face names to the new name en masse?

    How do I do a mass change of face names in iphoto?  For example, I have 500 pictures named Michelle Smith, but she is married and is now Michelle Johnson.  How do I change all the photo face names to the new name en masse?

    You edit the name in the Corkboard view.

Maybe you are looking for

  • Reworking a legacy Project that has a .air generated application

    Hi, I am new to the Adobe SW solutions and have a few basic questions. Background. The small company where I now work has a software team of 1, and that is now me. In 2011 a previous Developer here created a .air target application that was delivered

  • Sound in a Time Line?

    I want to run a sound once in a timeline but want the sound to stop at the end of the first run on the timeline but want the timeline to continue to repeat without the sound running again. Is there a way to do this? Gary

  • Totals in classical report

    Hi, Please tell how to get totals of a field in classical report. please help with sample code. thanks in advance.

  • A nice proposal för iTunes Store

    I like to watch movies from iTunes Store. I often browse the content, new and old, to find movies I like to see. There is one feature I truly miss. So here is my proposal to Apple and next update: When I browse the content in iTunes Movies I would li

  • Deleting pictures it takes for ever each time

    When I delete pictures in Photoshop Elements, it takes for ever each time. I have a fast computer, so some setting is wrong or a bugg in the program. Has anyone the same problem?