Add the reference to another project

I have a working space with two projects in TI, project1 and project2, I added project2 as a library project.  I would use project2 to project1 and to this end, I have:

Project1 selected-> properties-> Build and added the file project2.jar here.

In project1 and I then try and use project2 like this:

Project2. TC TestClass = new project2. TestClass();

How I get the error: project2. TestClass is not public in project2; are not accessible from the outer packaging.

Test class is declared as:

public class TestClass

{

public TestClass() {}

}

Any ideas?

Thank you

WELL

Make sure that you set dependencies. Check the context menu Project1

After that, a popup will appear. Library to find and check for project 1 project.

If you have added a project of library with pot inside, then you simply have to specify the import statement correct for a class/library module or to specify the fully qualified name of a class of the imported library.

For example:

import com.librarypackage.MyClassFromLibrary;

MyClass MyClassFromLibrary = new MyClassFromLibrary();

Tags: BlackBerry Developers

Similar Questions

  • How to import the class from another project in Jdeveloper 11.1.1.7

    I have an application with many projects. I create new project with the application and I want to import a class from another project with demand.

    But I am getting error ( found import.somePackge.someClass). I have red that I need to add it to the path of bulid project but no idea how.

    I use Jdeveloper 11.1.1.7

    Click the project--> project properties, dependencies, click here to change the Righ pencil icon and check the build output

  • Edit causes the break while another project ' charge. Why?

    Hello

    Why is - it, when I make a change to a project, often a drop-down list indicates another project is loading and there is an irritating, sometimes extended, break while this project 'charges '?

    It is often an earlier version of the latest project, duplicated.

    I guess there is no way to avoid it.

    The best

    Elmer

    It is a question that indicates a lack of powerful hardware to make all this treatment at the time, in general.  What are you training/machine card?

  • Click on the box - opening another project once again, once again, once again...

    Hello

    I think I'm a fool. I read almoust all the 'open another project', «affair...» "the discussions etc. But I have no idea how make it work. Count once more:

    I've unlocked security Flash or anything. I have a project and it is so big, so I decided to cut off for smaller projects. I wish I had a project on a slide with many areas of clickboxes for the opening of other projects.

    I exported, published the possibilities of project (swf, CP. hml...) related to the one slide project folder. I tried to open another project, open the file/URL. Nothing happens.

    What I need to do, step by step.


    Where should be all projects, which is shaped, where preview

    I hope that you understand everything.

    was soon Barbatian

    Hello

    It will be a long process.

    You can share your Contact information on [email protected]

    If its possible I'll call you back

    Thank you

    Vikram

  • How to access the taskflow in another project?

    Hello

    Is it posible to access a taskflow defined in a separate project (javeloper jpr)?
    I can access/invoke taskflow in the same project with success. However, the workflow in separate project is not accessble running. Although I have this project as a burden and they are under the same application of .jws. I got following error during execution:

    Caused by: oracle.adf.controller.ControllerException: ADFC-02001: could not find the controller of the ADF ' / WEB-INF/ui/flow/MyFlow.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:458)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:365)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:177)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition (MetadataService.java:215)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1060)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:220)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:214)
    ... 64 more
    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata not found for the metadata object ' / WEB-INF/ui/flow/MyFlow.xml '.
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1036)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2731)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1150)
    at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:203)

    Thank you

    You should pack your workflow as an ADF library and add it to the other project.
    Read more here:
    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/reusing_components.htm#BABCHHHJ

  • Record the sequence of the clip to another project

    I want to record an opening sequence of clips in order to reuse in other projects. I use 10 EP on Win7. Advice?

    DPMGinc

    To clarify, you take just the part of the project 1 chronology you want, not necessarily whole chronology... chronology full if your sequence represents the entire contents of the timeline.

    If selective export is involved in the editing area, you set the gray tabs on the work area bar extend over the segment intended for export AND you must have a check box next to the option 'Share work area Bar only' in the settings of export if your choice of export has this option. If you do not have these two conditions, you may not use this idea for export selectively a part of the timeline of a project.

    This screenshot from a version of Premiere Elements earlier than version 11.

    Please review and consider and let me know if you're OK with the details.

    Thank you.

    RTA

  • Script to add the reference frame graphic Page

    Okay, I'm ready to pull my hair. I looked up and down the internet to find a place where I can see the segment RJ Jacquez on the script that allows you to add images of your framework reference pages to HR styles for tip/note/WARNING/whatever. The only thing I can find is a twitter link, and I can't access Twitter to work. Help, please!

    Thanks in advance... Melissa

    Hi Melissa,

    The javascript required to add images of your pages to reference the framework styles HR shared @ https://acrobat.com/#d=ddHvZY7gelnzm8rqwlAIXQ it is public and does not require a log in

    Hope this helps

    Ashish

  • How to add the reference key after you have created a table?

    Hello
    I have two tables:

    create table (t1)
    a key primary number.
    b the number);

    create table t2)
    c number,
    d number);


    Now, after you have created these two tables I want to alter table t2 by making the column 'c', referring to the table t1. How to do this?

    ALTER TABLE t2 add CONSTRAINT PK_C PRIMARY KEY (c);
    ALTER TABLE T2 ADD CONSTRAINT FK_C FOREIGN KEY REFERENCES (C) T1 (A);

  • Add the string with another string.

    I got the text of the source XML document to appear in the BrowserField

     src="wp-content/uploads/2011/01/Chris_bild.jpg" 
    

    I thought too much about it.  The question is more simple I thought originally.

    How can I programmatically insert the string "fie: / / / store/home /" in the string above, so he says?

    src="fie:///store/home/users/wp-content/uploads/2011/01/Chris_bild.jpg"
    

    find the index you want to manipulate, for example using indexof("src=")

    use substrings and add up the parts you want.

  • Add the XML into another XML code

    Let's say I have a data XML that looks like this:

    < VFPData >

    < issuedetails >

    26 / < ID > < id >

    < > 04000 custno < / custno >

    < / issuedetails >

    < sku35576 >

    < action > audit of existing inventory < / action >

    < selected > false < / select >

    < / sku35576 >

    < / VFPData >

    I would like to add to this XML file, the following XML:

    < VFPData >

    < sku35578 >

    < action > audit of existing inventory < / action >

    < selected > false < / select >

    < / sku35578 >

    < / VFPData >

    So it will look like this:

    < VFPData >

    < issuedetails >

    26 / < ID > < id >

    < > 04000 custno < / custno >

    < / issuedetails >

    < sku35576 >

    < action > audit of existing inventory < / action >

    < selected > false < / select >

    < / sku35576 >

    < sku35578 >

    < action > audit of existing inventory < / action >

    < selected > false < / select >

    < / sku35578 >

    < / VFPData >

    Thanks for help.

    I'm thinking the first xml as "one" and the other as two

    one.appendChild (two sku35578);

  • Add the nls for another country

    Dear Sir

    I use ebs R12 12.0.6 on oul5x64 with NLS (Reconnoitred, ZHT) 3.
    now, we would like to install an other NLS for Vietnamese (VN)
    Please let me know if this VN NLS is compatible with the 12.0.6, docs so I can read and where to download. Now, I don't think I can upload this 12.0.6 more.

    Thanks in advance.
    Kind regards
    Tom

    Tom,

    All the steps you need to follow are described in the following thread (that's Arabic, but it is also applied in other languages).

    Installation of Arabic in R12
    Re: Arabic R12 Installation.

    Kind regards
    Hussein

  • Is there an easier way to spend some of my diagrams, graphs and the etc. of my project to another project?

    I have a project with many diagrams, graphics, Structures of the MA, user folders and etc. Is it possible next to copy and paste to move the items to another project?

    Hello

    Looks like you are trying to import all or part of a larger project into another project.  In the AWRDE V10, AWR introduced "Import Project", a tool that allows you to do exactly this.  To use the import project go to file > Import Project > and follow the instructions.

    If you are using a version prior to V10, then the copy/paste method is probably the most effective.

    Support of the AWR

  • How can I insert a reference to another part of a document?

    Hello people, I want to add one reference to another part of the document, for example a reference to a previous chapter.

    I think it won't be easy but I am a new user of pages.

    Thanks in advance.

    There is no support for bookmarks in any publication pages v5, and consequently, intra-references (hyperlinks) are not possible.

    Bookmarks are available in Pages ' 09 v4.3. Discontinued by Apple in 2013, he continues to work on El Capitan 10.11.5.

  • Measurement of Phase difference of audio - learning how to set the reference

    I'm trying to measure the difference in phase between two audio inputs. (Left and right channel of my sound card)

    Both are free running 1 kHz audio samples that come in and out of phase.

    When the samples are in phase, everything seems to work fine and shows no phase difference.

    However once that signals start to emerge from the +-10deg phase the result keeps jumping around.

    It seems to be the fact that it is changing the reference to determine the phase.

    When I view the phase of the output of a channel is a sawtooth waveform, from 250deg and then wraps round to-110deg

    What I want, it's an entry set to 0 degrees and see the other inputs of difference of phase against it.

    Is there a way to give a signal as being the reference or another strategy?

    Thanks in advance for any help.

    PLEASE NOTE THAT THE acquire.jpg IS ACTUALLY THE VI.

    It wouldn't download like the vi. Please rename extension to acquire.vi to see.

    Finally managed to find the problem.

    Red rooster, I tried to replace your entries simulated with audio inputs card his real world and things turned out horribly.

    It doesn't seem to be a translation between the two. (Perhaps because of my understanding of Labview garbage)

    LabVIEW uses the internal reference of the DAQ cards in order to make phase measures.

    That's what all use the phase VI of measure and which lack of cards not NI - DAQ.

    That's what I thought that missed me first place but there's no way I can see simulations your own.

    To work around the problem, I used zero crossing detectors in order to compare the time ahead or lagging behind the benchmark for the calculation of phase.

    I got the core of the detector from somewhere on the forum but have lost the actual page. (my apologies to the author who deserves the credit)

    Anyway, hope this hepls someone.

  • How copy/duplicate/export a small project to another project?

    There, I created a short, a 2 minute clip that contained the primer SMPTE universal, a made-up logo, some action camera etc. to serve as the beginning of the film.

    It took me some time to create, and what I would do, is 2 minutes import all construction at the beginning of a new project that I'm working on now.

    I want to have all the elements that have been created on the timeline (the primer SMPTE universal, clips with all effects, etc.) in the old project, copied and brought back at the start of another project.

    Can someone point me to the right direction please?

    Love_Green_Turtles

    There are two basic approaches to the use of the contents of a project in another

    1. use the Premiere Elements in conjunction with the ClipMate program for a system copy and paste, insert. Please check out my blog on this

    http://www.atr935.blogspot.com/2013/05/PE-ClipMate-CopyPaste-between-PE.html

    2. the chronology of the first project of exporting to a format compatible with the project of the second project preset. And then import this file into the second project. If necessary, based on the details of your particular situation, we can then discuss what would be appropriate for export by the first file format.

    Do not hesitate to ask if you need clarification on what it is written.

    Thank you.

    RTA

Maybe you are looking for