Possible to access classes in other folders without the use of packages?

Hi,
I'm trying to write a kind of connector application, and I have come across this stumbling block.
I have a folder for my main program classes, which will not change. External to that folder( either in a subdirectory or another directory on the same level) I want to have my classes to "connect". The connected classes will be compiled dynamically, as they depend on something in the main classes folder for complilation... I trust I can satisfy that using javac -classpath...
The problem is that I would like one of the main classes to be able to access the connected classes at runtime, from the other folder. The collection of connected classes will be changing, so that, coupled with the fact that one of the main classes will be required to compile each connected class seems to rule out the use of packages for the connected classes.
Is there a way to get around this?
Thank you,
Jesse

Are you trying to dynamically compile Java classes (in external folders
without packages) via Java? Yes, I will be (hopefully) using com.sun.tools.javac. I haven't done that part yet, as I don't want to waste my time on a design that is fundamentally flawed :)
Does each new 'application' get placed into its ownfolder? No. I will be building a collection of new apps that will all be contained in one folder.
Once an application is compiled, must it beimmediately available to the process that compiled
it? Yes. Once an application is compiled I need it to be accessable from that point on.
Thanks,
Jesse

Similar Messages

  • HT1766 Is there way of accessing your back up data without the use of an i-phone?

    Is there a way of accessing your back up data from the computor without the use of an i-phone?

    If it wasnt activated prior icloud wont help now. Did you ever use the save and print option to "send it itunes"?  I did that all the time prior to icloud to back up my docs. Then you can "copy from itunes" in the new document dialog.
    I still recommend doing the export to iTunes to create a local back up copy on ocassion.
    For future reference, To activate icloud for documents, go into the main settings app, tap icloud, then documents and data, and turn it on. Then go to the app (maybe numbers) further down the main settings list, tap it and turn on "use icloud".
    Jason

  • Is it possible to save my iphone 3G contacts without the use of Itunes

    I refuse to use Itunes. But I need to save my contacts somehow. Either on internet or on my computer. This is because i'm changing to a new phone.

    there is a way you can do it with an app called 'My Contact Backup' it allows you to back up your contacts to an email and they you email it to yourself and when ever you need to load you contacts onto a new phone just open the email on the phone and click your contacts and they should all load onto the phone.

  • Is this possible to access arbitrary frame and to modify the mask?..

    Sorry for a bit messy discussion title. Please, let me explain.
    I have some experience in implementing video processing algorithms, but as our own software and never under AE. Now there is an idea to implement something for AE and first of all, I'm curious, if this is possible at all.
    1) When processing the n-th frame, I need the full access to the data of (n-k)-th and (n+k)-th. Is this possible to do in general case? Or the only variant is to implement frames buffering during the first pass?
    2) Our algorithm uses the mask as one of the inputs. But in contrary to the usual case, mask does not define an area of interest. In any case the full frame is processed, but the processing differs for different regions, depending on mask. In our software, it works like this: user defines a mask (and some parameters). Then effect is slightly modifying (let say – refining) the mask during the render and renders final images. After this user can modify the mask somehow again if he/she is not satisfied with what algorithm has done. Can I produce the same workflow in AE? The only way is using a drawbot (this means CS 5.5 and higher)? And what if I want masks to be raster images?
    The second question in the framework of this one is how to do two video inputs for an effect (first – the video to be processed and second – the mask (grayscale sequence in general case))?
    The possible workflow is that user provides trivial mask – lets say, the black solid. But even during the first pass effect should produce the mask, according to its sight to the video – so, it should somehow substitute the black solid with the sequence on black'n'white images. Is this all possible in AE?
    3) Is this possible (should be, I guess) to implement multipass algorithms? How the preview works then, if I need, for example, to pass all the video length 3-4 times, to produce the final render?
    I can expect that all this is solvable in AE, but may be experienced users could be so kind to give me some basic recommendation on how to do this. Looking through the PDF, which accompanies the SDK has not allowed to come to a distinct answer for the question: is this possible or not. So, I rely on your consultation.

    hi Theofil Mulony, welcome to the forum!
    in short, yes, what you want to do is possible, but some parts may be tricky.
    and now the long version:
    1) When processing the n-th frame, I need the full access to the data of (n-k)-th and (n+k)-th. Is this possible to do in general case? Or the only variant is to implement frames buffering during the first pass?
    you can access the pixel data of any layer at times other than the currently processed time. this concept of getting that data is referred to as "layer checkout" in the AE SDK, and "wide time" is the name of getting pixel data at times other than the current.
    the following thread discusses the difference between two methods of getting such data:
    http://forums.adobe.com/message/4033930#4033930
    you can also look at the "checkout" sample project to see how both concepts are implemented.
    2) Our algorithm uses the mask as one of the inputs. But in contrary to the usual case, mask does not define an area of interest. In any case the full frame is processed, but the processing differs for different regions, depending on mask. In our software, it works like this: user defines a mask (and some parameters). Then effect is slightly modifying (let say – refining) the mask during the render and renders final images. After this user can modify the mask somehow again if he/she is not satisfied with what algorithm has done. Can I produce the same workflow in AE?
    masks in AE generate a matte by default. the user can turn that mask off, so that the shape remains, but the mask does not... mask. (you can also set the mask mode to "none" via API commands).
    you can then read the "off" mask attributes and either render using an API command (see "pathmaster" sample to see how), or write your own algorithm if the API constraints on that operation are a problem for you. (and there are a few constraints on rendering masks in the API)
    now. when you say "modifying the mask" do you mean you modify it's generated matte, or do you mean change it's defining vector?
    both are possible, but completely different.
    if you turned the mask off, and rendered it's alpha yourself, then you can modify that alpha as you wish.
    if you want to use AE's generated matte of the mask and change the mask's outline shape, then you need to look into "streams" and the "mask outline suite".
    the user can modify a mask's shape as he/she pleases, unless you lock that mask or otherwise sabotage the user's operation.
    The only way is using a drawbot (this means CS 5.5 and higher)?
    drawbot is the API for drawing over AE's interface in CS5 and up.
    it's only a drawing tool. previous versions used OS drawing tools. that's all the difference.
    what i think you're asking is weather you need to create the mask drawing/handling capabilities or not.
    the answer is: you can, but you don't have to.
    unless you need control over the mask drawing that AE's existing masks don't have, i would have used AE's masks and not create a brand new mechanism (that the user need to learn as well).
    if you insist at creating a custom UI for drawing masks, the "CCU" sample project would be a good place to start the research.
    (just don't come crying to me when you get a splitting head ache)
    And what if I want masks to be raster images?
    The second question in the framework of this one is how to do two video inputs for an effect (first – the video to be processed and second – the mask (grayscale sequence in general case))?
    The possible workflow is that user provides trivial mask – lets say, the black solid. But even during the first pass effect should produce the mask, according to its sight to the video – so, it should somehow substitute the black solid with the sequence on black'n'white images. Is this all possible in AE?
    by default, "effect" plugins (as opposed to AEGPs) get only one input - the image of the layer, post masks and previous effects (but before transformations).
    you can put as many "layer param"s in your effect and let the user select any number of other layers, which you can the "checkout" and use as second inputs.
    you can also checkout other layers without the user selecting them manually.
    however, checked out layer results are pre-masks and effects. so if the user draws a mask over a black solid, you will not be able to read the "post mask" image unless the user pre-composes the layer with the mask inside the pre-comp. it's a common practice for users to do so, as many effects rely on a second input, and that's the only way to make the input pos-masks and effects. (so it's no biggie from the user's point of view)
    in the same manner, you can read any layer's image and use it as a mask.
    you get the image buffer, so it's up to you to decide whether to use the alpha channel of that image or the rgb (or any other method you see fit).
    3) Is this possible (should be, I guess) to implement multipass algorithms? How the preview works then, if I need, for example, to pass all the video length 3-4 times, to produce the final render?
    AE doesn't do multi pass rendering.
    it actually can render arbitrary frames, in no particular order.
    but as you already saw, you can access the image data from any time - of any time, so you can emulate passes.
    if you need to fly through the whole sequence for every frame, that would of course be very time consuming and wasteful.
    in such a case, you can try to do these passes only once, when effect is implemented, and cache the results.
    look up "sequence data", to see how to manage memory specific to a single instance fo you effect.
    but i must say that if you have to do full length scans of the footage, a couple of times over, and cache EVERYTHING, then you're in a bit of a problem in AE.
    it's just not set up for such rendering logic.
    not impossible, but highly inefficient in the AE rendering pipeline.
    there is a lot more to al of the above, but i hope this gave you a clearer picture of how things are in AE.

  • Is it possible to make a slideshow or presentation without the fading (and horizontal l and vertical) so no transition at all?

    Is it possible to make a slideshow or presentation without the fading (and horizontal l and vertical) so no transition at all?
    (I would like my dog to 'run' more smoothly across the webpage in a very quick slideshow)

    Hi,
    You can set the transition to any of the three options available (fade, vertical and horizontal ) and set the transition speed to  "0" . This would remove all sorts of transition effects from your slideshow.
    Please refer to this screenshot :- http://prntscr.com/4rdaqm
    Hope this helps
    Regards,
    Rohit Nair

  • Image swipe on iBooks without the use of iBooks Author

    Im working on an e-book using calibre and dreamW. It contains lots of pictures. What i want to do is tap on one picture, make it pop at you (make it larger, just like it does when you tap on an image) but then from that be able to swipe to the next image, swipe back and so on. I manage to use JavaScript and make it happen in html, but not in xhtml...
    So i would really like to know before going any further, Is this action possible for iBooks without the use of ibooks Author?? in other words: Does iBooks allow the swiping gesture to see images within the normal swiping of the page
    Any thoughts, ideas? thanks!

    If you're looking to trap the swipe gesture and take some custom action with it, yes, it's easily doable within a hand-coded ePub and iBooks. We do it in our books to suppress the normal page turn response on certain controls. Trap the move event, act on it, and preventdefault.

  • Red Hat Cluster Suite without the use of RAC

    Hi,
    I want to install Oracle 9i/10g database on two nodes in linux redhat AS 3. I want to use Red Hat Cluster Suite for clustering and failover the Oracle db without the use of RAC. Is it possible and would it be sufficient enough ? Does Red Hat Cluster Suite support with Oracle 10g or just 9i ? With Red HAt Cluster Suite, would it require to have one virtual IP ?
    Thanks

    If you want failover all you need is a dataguard solution and skip out on cluster suite.
    If you want Distributed Database then you need RAC.. You can't implement a 9i/10g cluster per say by using an OS solution vs an Oracle solution.
    Node A - Primary
    Node B - Secondary
    Node A -> B (DataGuard redo replication)
    Process Management scripts to switch users from A to B and vice versa pending recovery of instances. Cluster suite has no involvement outside of what may be nice nice system management capability.

  • Running Predictive/Progresive outbound campaigns without the use of IVR

    Is it possible to run a predict/progers outbound campaign with a 3:1 (port:agent) ratio without the use of ivr
    could i instead place the customers on hold somewhere in icm while the agents are busy?
    just a thought...

    What you are asking for in essence is the ability to queue the call. This is only possible in an ICM environment with an IVR or with some other peripheral integration utilizing the Service Control interface.

  • Direct wireless print without the use of a router

    Is it possible to print directly to the printer without the use of a router?
    This question was solved.
    View Solution.

    Hi Brad,
    Welcome to the HP Community Forum.
    OFFICEJET PRO X476 AND X576 MFP SERIES User Guide     says Yes
    See Page 118
    Reference:
    HP Officejet Pro X476dw Multifunction Printer
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • HT201250 Can I restore photo files from Time Machine without the use of an external drive?  I'm trying to restore lost photo files and I see them listed in Time Machine (without use of an external drive), but when I try to restore I get a error code 36.

    Can I restore photo files from Time Machine without the use of an external drive?  While I was transferring photos back and forth from a thumb drive something went haywire and my IPhoto was wiped clean!  When I click on Time Machine I see all the dated pages (without an external storage drive connected), go back to a date where all my photo files are there, click "restore", and I get the message:  "The Finder can't complete the operation because some data in file cant be read or written (error code - 36)"

    Thanks so much Terence.  I tried some of the fixes from that page, but then discovered the suggestion to compress the Time Machine Back up of the original library and transfer it as a zip back to my computer as detailed here:
    http://pondini.org/TM/E9.html
    That worked like a charm.  I really appreciate it. 

  • Is there any way to connect an iPhone to an external hard drive without the use of a computer?

    Hello All,
    I am planning to travel to Central America, and I want to take pictures with my iPhone. I only have 8 GB memory, so I wanted to take my 1 TB WD Mac External Hard Drive with me on the trip. Is there any way I can connect my iPhone directly to the external hard drive, without the use of a computer? Thanks in advance!

    The external hard drive has only one input port which is usb, so you can only use usb here. Also try considering online storage.

  • How to sort random number without the used of order by

    Hi ,
    how should 5 random number be sorted without the use of order by in PLSQL
    eg.
    id amount
    1 2
    2 9
    3 3
    4 5
    5 7
    Edited by: sake1 on 1-dec-2010 8:16

    I used Altavista and found one example, how does it look?
    DECLARE
      /* there is no built array in oracle, you must declare
      your own */
      TYPE Numarray IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
      /* the array of numbers - using assoc array because I can start
      with zero like traditional arrays */
      Nums Numarray;
      n NUMBER := 0;
      Temp NUMBER;
    BEGIN
      /* load up the array, put 20 random values in the array,
      in array indicies 0 to 19 */
      FOR i IN 0 .. 19
       LOOP
        Nums(i) :=  Round(Dbms_Random.Value(1, 1000));
      END LOOP;
      /* get the array size */
      n :=  Nums.Count();
      /* display the unsorted values - loop through the whole array and
      print out the values */
      Dbms_Output.Put_Line('unsorted:');
      FOR i IN Nums.First .. Nums.Last LOOP
        Dbms_Output.Put_Line(Nums(i));
      END LOOP;
      /* bubble sort - using two loops, compare each value with the one
      after it
      if the one after the current one is smaller , then
      switch their locations in the array, this is just like standard
      bubble sorts
      in other languages. The only real diff is the syntax.
      FOR i IN 0 .. n - 1 LOOP
        FOR j IN 0 .. n - (i + 1) - 1 LOOP
          IF (Nums(j) > Nums(j + 1)) THEN
            Temp := Nums(j);
            Nums(j) :=  Nums(j + 1);
            Nums(j + 1) :=  Temp;
          END IF;
        END LOOP;
      END LOOP;
      /* display the values sorted */
      Dbms_Output.Put_Line('sorted');
      FOR i IN Nums.First .. Nums.Last LOOP
        Dbms_Output.Put_Line(Chr(9) || Nums(i));
      END LOOP;
    END;
    unsorted:
    155
    909
    795
    977
    942
    214
    105
    269
    283
    820
    108
    594
    784
    921
    856
    736
    802
    457
    951
    411
    sorted
         105
         108
         155
         214
         269
         283
         411
         457
         594
         736
         784
         795
         802
         820
         856
         909
         921
         942
         951
         977
    */In the code the first comment is wrong actually i think, that one:
    "there is no built array in oracle, you must declare your own"
    I remember there were some system collection-types, if i'm not mixing with something, i remember there was some kind of such but they were un-documented ones, so we can juridically say that the comment in the code was still correct.

  • Can a printer be set up on a iPad without the use of a separate computer? I want to get rid of my laptop and just use. IPad...

    Can a printer be set up on a iPad without the use of a computer? I won't to discard mt laptop and only use the iPad. I ordered a hp3050a which meets the spec....but it requires that the cd be used for see . this is fine for the initial set up but how do I fix or reconfigure if I do not have a computer?

    All you need to do is make sure it's a wifi configured print and connect the print and ipad over the same wifi network. Also make sure the printer is Airplay Capable.

  • How to buy application on App store without the use of credit card?

    Hello! I would like to ask if there is a way to buy application on the app store without the use of credit cards
    I have a debit card. can i use a debit card instead?
    i'm from the Philippines by the way.

    Debit cards not accepted in all areas. Use an iTunes gift card if you have
    no credit card.
    In countries where the iTunes Store only sells apps, the accepted payment methods are Visa,
    MasterCard, and American Express. Other payment types such as gift cards, store credit,
    monthly allowances, ClickandBuy, and PayPal are not accepted. Depending on your App Store
    country, prices may be listed in your local currency, US Dollars, or Euros.   
    http://support.apple.com/kb/HT5552

  • If I purchase something on AppleTV is it possible to access it through my iPad without syncing?

    Hello I recently purchased an iPad 3 with retina display and I'm using Apple TV and I've just bought a movie on there was wondering if it's possible to access the movie through Apple TV without syncing my iPad to my MacBook Pro? I guess I'm wondering if iCloud has a hub where it shows everything that you've purchased like Apple TV but is accessible on iPad iPhone etc to stream everything with ought having to sync it to the device itself. Sorry If this is a rather basic question I am a new user to all of this thank you for your help I appreciate it!!

    If you purchase iTunes content from any device, you should be able to download it to another device from the Purchased section of the itunes app/store. There are some restriction on Movies/TV content based on locale, but in the US it shouldn't be a problem.
    On teh iPad, open the iTunes app. Tap Purchased (bottomof screen), then Movies (or TV Shows, etc.) on teh top menu. You can view all of your purchases, or just those not on the iPad, as well as sort by Most Recent or Name.
    ~~~~~~~~~~~~~~~~~~
    Message was edited by: James Ward4

Maybe you are looking for

  • Server Error on My Verizon sign in page

    We are getting server error message when we try to go to sign in page here in Baltimore!

  • Inquiry Report

    Hi Gurus,               Do we have any standard report showing the status of all inquiries?               Do we have any standard report showing the status of all Quotations? Thank you ANIL

  • Photos won't show up in my Camera Roll

    I've had the 16GB 3G camera or a little over a year now (I think lol whenever it came out was when I bought it) and now whenever I take a photo, or edit one in an app, it saves the photo to the camera roll, but won't show up. It will take a photo, an

  • Why does running an applet within a portlet not work?

    Hello, I have an applet and I want to run this in a portlet. I tried to load this applet into a portlet with SunONE Studio and Portlet Builder, and it works. The applet is running without problems. Now I tried to run this applet in a portlet under We

  • LoadReport takes more than an hour

    I have a report which is being used by dozens of customers and it runs just fine. At one clients site the report takes over an hour to load, but only on one specific machine. Loading the same report using the same data on a different machine take lik