How to set a 'package' for the xjc generated files?

Hi!
What can be done the let the 'xjc' source generator
create a 'package' line for each generated java file?
Karl

Can I generate the classes from the same xjs file to different packages ?
For example:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xml-java-binding-schema version="1.0-ea">
     <options package="try.billing.data"/>
     <element name="downloadUnbilledCallsContent" type="class" root="true">
          <content>
               <element-ref name="accountId"/>
               <element-ref name="email"/>
          </content>
          <attribute name="dataObject"/>
          <attribute name="handlerClass"/>
     </element>
     <options package="try.util.data"/>
     <interface     name="JavaSources"
               members="DownloadUnbilledCallsContent"
               properties="dataObject email"/>
</xml-java-binding-schema>
The interface JavaSources has to be in try.util.data package but the downloadUnbilledCallsContent class has to be in try.billing.data.
thanks

Similar Messages

  • How to set new value for the existing jar file

    Help:
    I am wondering if there is a simple to update value for Manifest-Version in a existing jar file?
    Thanks!

    The jar command's -u option is about as easy as I know.
    See the jar command documentation for the details.

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • How to set PDF version for the output file in ES4

    I am using LiveCycle ES4 for converting word docs to PDF. In our client we invoke createPDF method of GeneratePdfServiceClient class. We are using a custom PDF setting in LiveCycle in which we have defined configuration as per the business requirement.
    We need the PDF version of the document to be set to 1.4.  For this, we are setting the value for compatibility (under File Option) to Acrobat 5 (PDF 1.4) in custom PDF setting template in LiveCycle adminui and in Acrobat preferences. Both these setting are not working and the resulting document has PDF version set to PDF1.5. Can you tell me how the version of resulting document be set to 1.4??

    Hi Neelam,
    I tried it and did the personalization as the help documentation said.
    But I don't know why it doesn't work:(
    I followed these steps:
    1. open workbook and select a value for the variable used in query
    2.click personalized variable and new window pop up then I select the value I chose and added to the selection.
    3.click ok and quit
    4.save workbook
    but next time I open this workbook, the variable selection window still pop up.
    BR
    Fanchest

  • How to set content type for the attachment?

    Hello Everybody,
    I was trying to do the following in my send mail program:-
    1. I am making a file using FileWriter:
    FileWriter fw = new FileWriter(f);
    fw.write(str);
    2. I now want to attach this file with my mail. but before that I want to set the Content type of this as "application/smil". and trying the following code:
    mimebodyparts[0].setContent(fds[0],"application/smil");
    As this is a new MIME type perhaps I need to change the mailcap file. I found the same in the activation jar package but thought instead of chagning the default file i tried putting following code in my program:
                  File capfile = new File("simple.mailcap");
                  if (!capfile.isFile())
                        System.out.println("Cannot locate the \"simple.mailcap\" file.");
                        System.exit(1);
                  CommandMap.setDefaultCommandMap( new MailcapCommandMap(new FileInputStream(capfile)));
    and in simple.mailcap file put the following value
    application/smil;;     x-java-content-handler=com.sun.mail.handlers.application_smil  but I am still getting the following error:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/smil
    Can somebody Please help to sort this out.
    regards,
    Arun

    //add related mutip-part to combine parts
    MimeMultipart multipart = new MimeMultipart("related");
    //attach a pdf
    messageBodyPart = new MimeBodyPart();
    fds = new FileDataSource("h:/something.pdf");
    messageBodyPart.setDataHandler(new DataHandler(fds));
    messageBodyPart.setFileName(fds.getName());
    multipart.addBodyPart(messageBodyPart);
    //add multipart to the message
    message.setContent(multipart);
    //send message
    Transport.send(message);

  • How to set minimum size for the 'location' box in toolbars?

    I reorganized my toolbars by merging the location and tabs bar. I have the location on the left hand side and the tabs *next* to it, like this:
    [ (<)(>) [LOCATION] /tab\/tab\/tab\ ]
    Unfortunately when the number of tabs increases, the location box becomes so small that I cannot even see the url of the site I'm in...
    Is there a way to force a minimum width for the location box? I couldn't find a setting in about:config for it (I imagine that this would be a browser.urlbar setting)

    You rock! The combination of fixed width tabs with the stylish Add-on, and the single line of script below just made my day!
    #main-window[sizemode="maximized"] #TabsToolbar, #TabsToolbar > #urlbar-container { min-width: 350px; }
    Many thanks!

  • How do I change permissions for the documents and files on my Mac Book Pro after I re-instaalled the HD using a Time Machine back-up?

    I had to re-install the HD on my Mac Book Pro. I used a Time Machine back-up for all the apps and files. Most were restored, However, I cannot unlock a number of them. I tried changing the permissions using Get info but it is not working. I am using the latest version of Moutain Lion OSX.

    Linc:
    Very helpful suggestion and response, Thanks for pointing out that it is a permission issue. I am working through the issue and resolving my problem.

  • How to set runtime parameter for the entire system

    Hi,
    I have a problem with setting runtime parameters in jre v1.6.0_07. I have an XP computer with multiple users and to use the application eavery user must set the runtime parameter once by going to java control panel -> Java -> Java applet runtime settings -> view. How can i automate this? I have multiple users and there may be more users logging in so manually sending the C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file to all profiles is not a solution. Same question here but no solution. Every user must get this parameter when they log in, they may be new users or existing users. The software I'm trying to use is browser based, we don't trigger an exe or something from local to run the software.
    In C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file there is a line like this;
    deployment.javapi.jre.1.6.0_07.args=
    This works for a single user. I've read the instructions in [deployment guide|http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html] but the properties file we put in C:\WINDOWS\Sun\Java\Deployment does not support ".args=" command. Anyone encountered or have a solution for this problem?
    Thanks.

    Hi,
    got solution for this problem? I am also having the same problem.
    Thanks.

  • How to set a proxy for the azure-cli tool?

    I'm behind a corporate proxy: how can I configure the azue-cli tool to use our corporate proxy? Cannot find any information online and on the documentation.
    Thank you
    Simone

    I suggest you having a look at this article
    http://dunnry.com/blog/2010/01/25/SupportingBasicAuthProxies.aspx, hope this helps.

  • TB Conversations: Inline reply box not spell spell checking. How to set spell check for the inline reply box?

    When using the inline reply box and I misspell a word the red line shows to indicate I have misspelled and yet when I right click ont he world there are no spelling suggestions. This feature does work if I reply through a new window, but not when using the inline reply box available with the Conversations plug in.

    see this goto Option>Advance>General see screen shot now '''tik''' on it

  • How do I set up voicemail for the first time?

    I feel like i am losing my mind.  I CANNOT find simple instructions (even in the manual) on how to set up my husband's voicemail on the BB 8800.  There are all kinds of questions and answers about voicemail, but I just need to know how to set it up for the first time.  The message you get when you call the phone is "This user has not yet set up voicemail" (or something to that effect).
    PLEASE HELP!
    Solved!
    Go to Solution.

    This is simple in deed! Go to Call Log -> click Menu and  select Options -> Voice Mail. Now in the Access Number put your carriers Voice Mail Box number. Some carrier requires access password which you can also put in the.
    Let know if this helps.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • How to download and Install bos.loc.utf.EN_US Package for the Oracle BI locale setting english-usa language in Windows 7 64bit

    OBIEE 11G Installation error during configuration steps with message "Distributing Repository" failed.
    I searched lot of forums but all they say, install bos.loc.utf.EN_US Package for the Oracle BI locale setting english-usa language. From where we can download this package.
    Thanks in advance.

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • HT1925 Can't update iTunes because of error message "iTunes.msi is not a valid installation package for the produce iTunes".  How can I fix this?

    I can't update iTunes because of error message "iTunes.msi is not a valid installation package for the product iTunes". How can this be resolved.  I am using a PC with Windows XP

    If you can, uninstall and reinstall itunes..... Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Hope this helps.

  • How to set raw format for canon powershot a1100 is ? ,,according to the specs online it can.

    how to set raw format  for canon powershot  a1100 is ? ,,according to the specs online it can.

    It requires the Canon Hacker's Developement Kit (CHDK). It runs off of your SD card and does not harm your camera. Download a program called Stick-
    http://zenoshrdlu.com/stick/stick.html
    Follow the directions and you will be able to shoot in RAW along with some other deatures not available on your camera previously.

Maybe you are looking for

  • Ipad, ipod not recognized by itunes since newest download

    both my ipad and ipod don't get recognized by itunes since latest update.  I get the standard sounds when connecting to the computer.  I get a "trust this comuter" question on the ipad.  But no icons in itunes.

  • Last Logon date and Logon time not updating in table USR02

    Hi, Please help us on this. After customer successfully logged in the webshop, we are checking the table USR02 in CRM system and the Logon date and Logon time is not updated. Because of this, the customer will be locked after certain number of days.

  • How to define process chain in BI 7.0

    HI All How can i define process chain in bi 7.0 .Please help me .If any step by step documentation is available please send me. Thanks in advance

  • Large Value problem with Oracle Provider for 9.2.0.7.0 and 10.1.0.4.0

    Hi, There is table having single column "SCORE" as shown below. | SCORE | |9.0000E+33 | |8.0000E+33 | |7.0000E+33 | |6.0000E+33 | I am trying to fetch column SCORE from above table in database. The type of column SCORE is NUMBER. With Oracle Provider

  • Problem importing music from hdd on my pc

    flaming thing wont import music from my hdd's at all... has happened in the past but am sick of uninstalling and re-installing itunes then importing all music by hand everytime as i have over 200gb of mp3 format music files... got to be an easy way o