Passing the list of files to the compiler CAP *.java

I need to move the list of project files to the EUCPN compiler via the build.files file. It's because I wrote some batch scripts to automate construction projects for different platforms of BB OS. I tried the following script

"C:\Program Files\Research In Motion\Blackberry JDE 4.6.0\bin\rapc.exe"  -quiet -define=TARGET_BOLD;PREPROCESSOR import="C:\Program Files\Research In Motion\Blackberry JDE 4.6.0\lib\net_rim_api.jar" codename=MyApp MyApp.rapc @MyApp_build.files

but it does not work. Compiler says

D:\Projects\Current\MyApp\sources\Blackberry>"C:\Program Files\Research In Motion\Blackberry JDE 4.6.0\bin\rapc.exe"  -quiet -define=TARGET_BOLD;PREPROCESSOR import="C:\Program Files\Research In Motion\Blackberry JDE 4.6.0\lib\net_rim_api.jar" codename=MyApp MyApp.rapc @MyApp_build.files
Warning!: No entry points found
Warning!: No definition found for exported static routine: .main(String[])

As I understand it, there is a problem with the main application file. But I create MyApp_build.files files using the recursive directory listing and it contains the file .java with public Shared Sub Main definition.

Compiler generates no file build.files when there are a few files in the project. It creates a long line, where all the file names are listed. I tried to create inMyApp_build.files file in the list by copying-pasting compiler inside line and then split it into lines. After the compiler found the public Shared Sub main, but it loses other files. I can compile the project of the JDE, but I can't compile it from the command line.

Therefore, it is - how can I generate file build.files make it work? Who controls I need for files of project?

Thank you, finally I understand your words. The problem is that if you specify destdir attribute of tag, it moves all the resources in the folder root of the .jar file. If you specify destdir as the root of your project JDE (folder, where the file .jdw ) - in other words, when you do not specify this attribute at all - everything is OK, and compiler moves the resources in your project folder structure. So, if you have no problem with the project resources, you should NOT specify the destdir attribute and manually copy the .cod files after compilation.

Thus, instead of


You must use


Tags: BlackBerry Developers

Similar Questions

  • Error occurred when using the compiler CAP

    I developed a J2ME MIDlet program that can run on the mobile phone. Now, I want to run it on the BlackBerry. I tried to use the compiler CAP to change the .jad and .jar format .cod files. However, he returned the following error message.

    Error! : offset of field too big for: cmdJobDetailGoToTop

    It should not be a java error.

    Someone has seen this before and how to solve?

    Thank you very much

    This error indicates that the class containing the data member cmdJobDetailGoToTop has too many data elements of members where the upper limit is 512 words.  It is worth noting that the number of double and long for two words in this upper limit.

    Finally, the members of the classes of database would contribute to this indictment as well.  To resolve this problem, you must reduce the number of data items in this member.

  • < critical > < WebLogicServer > < BEA-000254 > < cannot pass the user "psoftusr".

    Hi all.

    have a customer problem with permission to userid where they get an error in the application of patches.

    It's customers comment:

    We suspect that our psoftusr of the user who starts the Web server on a port higher than 1024 doesn't have the correct permissions to start
    without getting the error

    August 30, 2008 9:16:41 CEST > < critical > < WebLogicServer > < BEA-000254 >
    < cannot pass the user "psoftusr". java.lang.IllegalArgumentException: cannot initgroups(3) ("psoftusr"), system error: "no owner".



    problem is that once I go into the Admin Console and change the settings to enable the liaison post UID.

    After all I change the default page I have no problem.


    CT needs to know what permissions are psoftusr must have to be able to get rid of this error message?
    psoftusr is the id used to install the software in the first place.


    so far, the file permissions are set correctly in the LDAP directory.


    any thoughts...
    Thank you
    t

    CT is about PTools 8.49 and BEA_home is not under PS_Home, it would make everything about the difference in access to this user name?
    CT does not see the House under the envsetup (UNIX) BEA? How can they add that, to be part of the env? Maybe this could be one of the reasons...
    THX

  • Files generated during compilation

    There are a bunch of files that are generated during compilation of an application.  What do these files and what are they for (I'm a noob)?

    . COD - I guess that's the application?  Even if it seems to be a ZIP file.

    .jar - I don't understand the purpose of this file?  What is the purpose of this file, if we already have the .cod file?

    . CSO - what is it?

    .jad - I guess that it is a manifesto of a certain type?

    . CAP - another show of a certain type?

    Any guidance would be appreciated.

    Thank you.

    . COD - it's the application.  If it is a ZIP file, which means that you have a large application and it exceeded a limit of size of the code, in which case, the compiler packs individual cod in a single ZIP file for easier management.  Search the Forum by using the term brother for details

    .jar - this is the standard version of java of the compiled application.  So cod files are RIM reconditioning it.  Can you recreated your COD form this.  In addition, for applications 'Library' that are used by other applications, you can 'import' of these and thus reuse the same library.

    . CSO and others.  Used by the signing tool to determine what signatures you need to get

    .jad - this is the file that you use for the installation of Over The Air (OTA)

    . CAP - never looked at that file, believing it is the form of the output of the compiler CAP, which is used for the compilations,

    You can find more information on the latter in the developer's Guide.

  • change the version of java in Oracle forms 10

    Hi all!

    I m using Oracle Forms 10 and I tried to import a jar file that was compiled in java 1.6. Therefore, the import has failed with the following exception:
    "Exception occurred: java.lang.UnsupportedClassVersionError: HelloWorld (unsupported major.minor version 50.0).

    After some research, I discovered that the problem is that Oracle forms use default java 1.4.2.

    I was wondering how to change Oracle forms to java 1.4 to java 1.6.

    Any ideas?


    Thanks in advance,
    Dina

    Hello Dina,

    Regarding your question, you have two options to overcome:

    1 - stay with 10 g version of forms and recompile the class in the version 1.4 of java, compatible with the java Forms 10.1.2 importer.
    2. upgrade to version Forms 11 g, which uses the java version 1.6.

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • MAF 2.1 - problems with the code compatible Java 1.5 +.

    Hi all

    I'm currently deploying an application that uses Java 1.5 compatible code. It's (really) very simple code that manipulates strings using "split" and "replaceAll" method. Apparently, I am forced to use only Java 1.4 in my application code, because if I keep the code and change the environment updated compiler, Build Path and environment target for respect for Java 1.7, then the application will not deploy more.

    By default, my Luna SR1 Eclipse use the compiler to Java 1.4 compliance.

    As an attachment, I put the Eclipse configuration that I currently use and the java code that won't compile without updating the compliance to 1.5 +.

    Any help on this?

    Thank you and best regards,

    Pierluigi

    FIXING TIPS: java code was renamed to .txt

    Hi Deepak,

    Thanks for your quick response. I made a mistake in the description of the problem: MAF is 2.0.1 that I was trying to work with JDK1.7.

    Your response suggests that it is not possible: I should only rely on JDK 1.4

    Is this correct?

    Thank you

    Pierluigi

  • How to get a list of files being compiled in the app?

    The flex compiler 2 used to generate a manifest xml document that describes all the files included in a compilation when you used the - Dungeon compiler option. This makes it really easy to discover the vestigial files.

    The compiler Flex 3 still has this ability? I tried to compile with the option - Dungeon, but what's the best in the generated directory comes from the MXML. I could analyze through all those as files and generate a manifest, but prefer not to do that if I had not to.

    What the Dungeon option has always been at the exit of the generated actionscript files.
    Maybe you think the option-link-report [fichier_dest]?
    Or if you build a library SWC, you can unpack the swc and look catalog.xml to see what is built in this CFC.

  • I have a list of files on the left side and I am trying to create a new file. Whenever I create a new file, it will in a list/topic - as creating a

    All I want to do is create a new file and do appear in my existing list of files instead of a new file under a new title.

    I am trying to create a new file and it appears in the sent column where my files for e-mail are listed. Now he goes over these files under a different title every time creating a new file.

  • How can I tell Firefox to clear the list of files uploaded to the exit?

    When I was using Firefox 3.x, I configured it to clear the list of files uploaded to the exit. Now, I 'upgraded' to Firefox 7.0.1 and it ceased to do so. Not only that, he doesn't seem to be a way to get this feature. Y at - it a setting that I missed, or have the Firefox devs decided that users don't need / envy to have Firefox do this more?

    You should always be able to clear only the download history when you close Firefox.

    • Firefox/tools > Options > privacy > Firefox will be: "Use the custom settings for history" > [X] clear history of Firefox closing > settings
  • When bookmarking a page, I get the full list of files in the drop-down list to select any folder in which the bookmark page. What you set for complete list of folders in the bookmarks falling?

    When bookmarking a page, I can not get the list of files to drop down to select any folder in which the bookmark page. The "folder:" bar was showing "Bookmarks Menu". The arrow on the bar descends 5 recent folders which pages were saved, but pop arrow to the right of the bar down opens just to show the three categories and the button "new folder". What you set for complete list of folders in the bookmarks falling?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).

    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    See also http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Libretto U100 Bluetooth error message indicates - getting the list of files fail

    Hello

    I try to connect my Libretto U100 Bluetooth to a new Sony Ericsson mobile software Bluetooth for exchanging information.

    I can connect and see the files on the mobile phone, but when I click on the folders, there is an error message indicating "getting the list of files doesn't have."

    New drivers must or is there something else I need to set up at all?

    Previously, I was able to connect to any other mobile phone with no problems.

    Thank you in advance for help you.

    Hello

    I m sure that it s is not a Bluetooth problem or a cell phone if it s possible to connect Sony Ericsson and other mobile phones. Unfortunately, I'm not very familiar with this laptop but I found this site with FAQ on your mobile phone.

    http://www.Ericsson.com/Contact/FAQ.shtml
    http://www.Esato.com/Help/FAQ.php

    In addition, you should check the manual of the phone. I sure you will find a description of m

    Good luck

    Good bye

  • Select the list box file and read the data from file

    I can list the files in the folder in the listbox

    1. I want to just list file .txt files

    2. How can I read data from the selected file (.txt)?

    I think that's what you want, enter a model in your list of files vi (for example, *.txt) and then just use File.vi text of reading by using the selected item in the list box (double click on event or value change) and use the starting for the vi records list path.  I have included a crude extract for your pleasure.

  • Save dialog box under does not display the list of files

    Terminal Server R2 of 2012.  Dialog box "Save as" for a user does not display the list of files.  The address bar shows the way, there is a form for the file name box, and the user can save the file successfully.  But the space that would show the files in the selected directory is empty.  There is no form for the list of files box, it's just the grey box dialog box space - that is to say, it is not that it looks like an empty folder, there is simply no display form box.

    The 'Open' dialog box appears normal, showing the list of files in the selected folder.

    I had the user close the session on the Terminal Server and access it from another PC, even if I was not expecting to make a difference, and it didn't.  I have also connected on myself and has not experienced the same problem.  So it seems to be user-specific.

    What a setting, the user has selected by mistake, or a mistake any?

    Thanks for any help.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • To sort the list of files by time not the file name.

    Original title: created the new toolbar on the sort option for changing the taskbar.

    I created a new toolbar on the taskbar, and it is directed to a folder in my network. When I click the new button on the toolbar, it opens subfolders sorted by filemane. Then, open the sufolders with files sorted by filemane.

    I want to sort the list of files per hour not the file name. is it possible to change this?

    Here's what I did.

    I right click on the taskbar - selected toolbars - selected new toolbar - selected the folder on my network.

    When I click the double chevron right the new toolbar button, it opens the files in this folder, and then I select a subfolder and an another subfolder then the individual wave in this final folder files. There are more than 300 wave files in this folder. It sorts thenm by file name which is a randomly assigned file name by the used recording software. I want to sort the files by time instead of file name. is this possible?

    Hi Jeffrey,.

    How many computers are present in the network?

    You can follow this link & check id the issue persists:

    How to arrange files using folder views in Windows XP?

    Reference: The order of sorting files and folders whose names contain numerals is different in Windows Vista, Windows XP and Windows Server 2003, in Windows 2000

    Hope the helps of information.

  • Select multiple files in the same folder from a list of file names

    I'm a wedding photographer.  Each marriage record is 700-1000 pictures.  When our wives to order their photos, you must select each photo to download to the printer.  I want to know if there is a way to just a list in the folder search bar which will show only the photos in the list on this issue?  I can't get it to do 1 photo at a time.

    Hello, Airborne4905!

    If I understand, you have a list of files that you want to print automatically. Well, for this, you must create a script. Below I show you a simple script.

    Now, assume that you have a d:\print.txt file that contains the names of the files in the folder in c:\users\public\pictures\sample pictures\ with a file name on each line, for example:
    Greek.jpg
    Dock.jpg
    Forest.jpg

    Then you have a file named print.vbs that contains the following script code:

    Set objShell = CreateObject ("Wscript.Shell")
    Set shell = CreateObject ("Shell.Application")
    Set objFS = CreateObject ("Scripting.FileSystemObject")
    Set objFile = objFS.OpenTextFile ("d:\\print.txt", 1)
    strFileContents = objFile.ReadAll

    arrLines = Split (strFileContents, vbNewLine)
    For each strLine in arrLines
    strFile = "C:\\Users\\Public\\Pictures\\Sample Pictures\\" & strLine
    hull. StrFile ShellExecute' ', '', ' print '.
    objShell.Run "mspaint/p" & Chr (34) & strFile & chr (34), 0, True
    Next

    objFile.Close

    If you want to print all the files that you specified in your d:\print.txt file, you simply run the print.vbs file.

    Note:
    1. the strFile = "C:\\Users\\Public\\Pictures\\Sample Pictures\\" & strLine line contains the path to your images folder - if you need browse another folder, just edit this string (note that you must keep the double-bar reverse oblique to the reverse slash single-bar place that you normally use!).
    2. the Set objFile = objFS.OpenTextFile ("d:\\print.txt", 1) line contains the path to the file where you list the images to print. Change the path to reflect the actual path of the file.
    3. If you need a more elaborate version or some other questions about scripts, please ask questions in the Forum Microsoft Scripting Guys on http://social.technet.microsoft.com/Forums/en/ITCG/threads/.

    I hope this helps!

Maybe you are looking for