Import (how to back out of current directory)

I know this question may be stupid, but I'm gonna ask anyway.
If I have this structure
site
/src/com/acme/model.as
/test
/test/test.as
How do I import model.as into test.as?
PS. I'm not using the Flash IDE, just textmate and mtasc

You have to add the /src/com/acme/ path to the classpath, so
the compiler will look for unknown classes in that directory. If
you can't do this with mtasc, you could place the whole directory
structure /src/com/acme/ inside the test directory, and use
import src.com.acme.model
in test.as.
hth,
blemmo

Similar Messages

  • SCM: how to back out a version?

    Someone checks in a file version.
    It's discovered that this should not have been done.
    How do you back out, throw away that version?
    All SCMs provide for doing this, I haven't seen this in the VHV RighClick menu
    or ???
    Thanks,
    curt

    Thanks David,
    But RON 4.11 fails to purge version.
    The current SCM is way too anal about versions being in other WA's and
    configurations.
    In a team environment, this just won't work. RON/SCM needs to have a
    nuke-it capability, IMO.
    Try this yourself. 12 SWA's and 10's of PWA'a reference a version. It's
    not an option to run around and edit a rule that excludes a version you
    need to perge.
    SCM with current difficulty of use encurages the re-checking in of a previous
    version on top of the version you want to back out. So the VHV will not reflect what really happened, it will show yet another version checked in to
    negate the changes you wanted to back-out.
    What to other SCM users have to offer?
    Thanks, curt

  • How to read files from current directory for applet

    I have an applet that needs to read some audio files located in its current directory on the server and I just can't seem to figure it out...maybe I am being dumb...any help?

    You can use the ListSorter File Adapter Configuration property to sort based on timestamp. Basically add the following property to the inbound JCA file:
    <property name="ListSorter"
    value="oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending"/>
    <property name="SingleThreadModel" value="true"/>
    More info see section 4.2.6 in http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm

  • How to find out the current hostname?

    How do I find out the current hostname for a given SoaSuite installation?
    Peter

    You can check the WSDL of any of your BPEL processes on BPEL console.

  • How can make JFileChooser set current directory to a nethood "\\host"?

    hello everyone,
    I want to set the JFileChooser's current directory to a nethood named "host".
    In the windows file dialog we can type "\\host\n" and we can explore the remote file system if which has sharing items.
    I try to use setCurrentDirectory(new File("\\\\host")), JFileChooser does't work. I must step by step explore the host in networkplaces.
    Set the host's subdirectory such as "\\\\host\\f1"can work but how can i get a remote host's subdirectory?
    thanks for any help.
    hu.

    Valerie Debonair wrote:
    1. Is there any easy way to set a an environment variable changing a working directory where a script is being executed? I 'm not so sure if i understood you exactly.
    Script can be executed/called only in/at the directory where it is. You can call script from path 'a' even if script's location is in the path 'b' , but you can't execute script with something like $@/dir1/dir2/myscript.sql if the script is realy in /dir1/myscript.sql .
    Although for something similiar you can consider using symbolic links if you are on unix/linux.
    Environment variables can't be changed and defined from within sqlplus so you will have to define them when you are in the os's command line or related gui where you can do the same. Also you could create env variable that can hold the path to the script so when the script is called , there is no need to write the full path, only variable name.
    2. How can I view path environment?path environment.
    There is no such thing.
    There is path environment VARIABLE . You can view it's contnent by typing echo $path in linux/unix or by typing set path in windows.
    regards,
    Valeriecheers

  • How to find out the current form name

    Hi all,
    I have to pass the current sapcript form name in the sauroutine pool for some further processing.
    I just wanted to is there any variable, method, or way to find out the current/running Sapscript form name generically so that we can pass it on to subpool.
    Looking forward for your reply.
    Regards,
    Anuja.

    Hi All,
    Many thnaks for your replies.
    Actually in my case the situation is, i have to change in multiple forms.
    I mean the same perform needs to be used in all the forms almost around 20 using the current form name.
    So that perform should be generic. I mean is there any variable/ method or way to get the current form name so that we can pass that to the subroutine pool through form.
    Looking forward for yoour reply.
    Regards,
    Anuja.

  • How to find out the current index

    Hello Experts,
               How to find the current index and whatever we entered in that table how to ratrieved that entry value.pls give the suggest..

    Hi,
    To get current index write below piece of code in the outbound plug for your F4 help pop up.
    We have to write this in the outbound plug itself otherwise it will not work.
    let me know whethere it worked or not
    cl_chtmlb_config_utility=>outbound_plug_event_info( EXPORTING iv_event_string = lv_event_string
                                                          IMPORTING ev_index        = gv_index ).
    Regards,
    Swapna

  • Turbo-Boost: How to find out about current processor sped?

    On the new Mac Pros the processors can enter Turbo-Boost-mode. How can I find out at which speed the processors are currently running?
    Thanks!

    It is complicated. Can happen in nanoseconds. And depends on processor and load as to how many cores will go to sleep and how many go into turbo... if the app is single threaded.
    It is something you don't really need to know or worry about.
    There are better tools for Windows to monitor core temp and frequency (and voltage).

  • Questions questions on how to back out of duplicates not on Iphoto,

    I have had my macbook pro 3 yrs and keep it updated. I was mistrustful of Iphoto as it did not seem easy to organize photos the way I wanted so I have loaded all my photos to a file in my document folder. Now I have what I am being told is nearly 15,000 photos and I have a lot of duplicates in my files OFF of IPhoto. I think tho that they are eating up my storage as it's very low and things seem slow esp Iphoto and some other stuff (like this site).
    I have finished grouping them in the separated files the way I want, which is topically, and except for a very small group which I renamed but left the numbers, they all have original numbers. In some cases I have 3 copies in different folders or rolls OFF of IPhoto. The ones on IPhoto are complete as I have used Iphoto cautiously.
    I was going to delete duplicaes off the hard drive (remember they were never put on IPhoto at least by me) until I read all those cautions about deleting and have to tell you I started to delete duplicates by hand off the hard drive (selecting one of two same numbers and kept 99% of the ones marked "orig" and nothing I did has effected the Iphoto as far as I can tell--the numbered pictures show up, but there are a handful which I can see don't have the "ORIG" on the name but still show up in the library anyway...and all of them have JPEG bec I found that was the easiest way to get them on. So far dumb luck.
    Now I'm afraid to delete the harddrive duplicates even tho they were not put into the Iphoto library by me manually. It does appear that some of the folder names I have used are there, some have complete sets and some have no photos in them at all, can't remember how they got there.
    I am now ready to send the organized photos to IPHOTO (after making a backup) but I'd prefer to eliminate duplicates on the hard drive folders first. Remember, I loaded these into my documents folder and not into IPhoto to begin with.
    Can I do this and should I eliminate only files that don't say "ORIG"? Will I have to buy software to eliminate duplicates on the harddrive folders I made? Plus, they are duplicates mostly bec I like to have a copy of the original roll, and the original set, and then my subject matter files (sort of cross referenced). As you can tell I am not willing to give up control over the photos on how they are arranged. Still Iphoto is a lot easier to look at them and edit them if necessary.
    I have an Olympus with a memory card and have learned I can name the download before importing them, but there does not seem to be a easy way to separate them into different groups and Iphoto isn't the easiest to do this beforehand either. Can you tell me a easy way--it seems it must be through the View, can I select this when I choose a download preference and name the download group? I don't like a default download bec then you always have to move them. Any suggestions?

    1. If deleting photos off Finder messes up Iphoto files, at what point is the connection between the harddrive file and the Iphoto file made?
    When it's imported.
    Do I have to choose the connection or does the system do it automatically?' Because if they are connected and I delete don't all these dire warnings apply?
    Read the above: If it's a Managed Library...
    2. When I have done downloads, they happend pretty automatically and don't give me a choice of identifying files with keywords or anything else, it's more like a dump. I am used to putting new material in a specific file and not having to rearrange them after they dump into Iphoto. So how/where do I control the naming and grouping of items before I put them into Iphoto? Iphoto is like shuffling cards after they've fallen it seems...
    Perhaps you should look at the tutorials
    3. Users should stop saying how great Iphoto is if it can't be simply explained how the two groups of data inter relate. I am not going to use a library system if I don't understand how they interrelate and one of the earlier posts basically said this info was proprietary.....
    You don't get to decide what Users say or don't say. If you don't want to use a Library system then don't use a database for your photos. I will say this tho': people with even very rudimentary computer skills seem to be able to grasp the concepts.
    None of the metadata that you add in iPhoto is proprietary, with the possible exception of Faces, and that's only because there is no agreed way to share this info in any application. All Faces data is proprietary in all apps that offer the feature. Anything else you add - keywords, captions, titles, location etc can all be written to the file on export from iPhoto.
    As to you comments on keywords: They are not a replacement for Captions, Titles and so on, they are an addition to them that add greater flexibility. For instance, if you have a photo of your Dog and a Tree, what category does it belong in? The Dog category? The Tree category? With keywording and a couple of really easy Smart Albums the same photo can be in both.
    As to the granularity of your keywording system: that's up to you.
    Regards
    TD

  • How to find out the current number of rows in a form without navigation

    Hi.
    Is there any way to count the rows in a form (block) without navigation to the last record?
    I am modifying CUSTOM.pll and have to count the rows before user commits changes.
    All records are new in this case. Can anyone halp me? Thanks.
    Regards
    Tomáš

    Magoo wrote:
    no, such a block-property ^unfortunately^ does not exists.
    you can just go to to the block, call the last_record build-in and find out, where the cursor is.
    But with this you call restrictred procedures and their are not everywhere allowed ...
    If you execute a query on a block, may not all records getting retrieved from database.
    For this forms does not know, how many records are really in the block and
    for this there is no build-in like get_block_property ( records_count ).It does exist indeed. GET_BLOCK_PROPERTY('BLOCK',QUERY_HITS);
    Of course, this will return the number of records that would get fetched to the block (based on the where condition), but not the records with NEW status (i.e new records which are not yet committed).
    -Arun

  • How to find out the current workspace?

    Assume I have a couple of possible workspaces on my harddisc.
    Can I find out for a JDev installation which of them is currently used?
    Peter

    respect...
    you didn't explain yourself properly. I too wondered if you were writing a JDev extension which this is a common question that comes up. Use case is everything when it comes to helping people to understand what you are trying to achieve.
    If you hold your mouse over your application or project file icon in the application navigator it displays the full path of the current workspace/project.
    Brenden

  • How to create file in current directory?

    In my JSP-page I tried to create some file in my current project directory but this file is created in C:\jakarta-tomcat-4.0.1\bin directory. I can do it using absolute path but I'd like to use relative path. Please help me.
    Thank you in advance.
    Qand.

    Try this:
    String filename = servletContext.getRealPath(request.getContextPath());Then take off the last part (after the last slash) and put on your temporary file name.
    It's a thought, anyway...

  • How to find out the current  screen resolution/width in webdynpro.

    HI,
    Can any one please tell me how to get the screen resolution in webdynpro?
    Regards
    -Sandip

    Hi Sandip,
    - view size can be set by setting the 'width' of the RootUIElementContainer. By defalut, it will be 100% only. Also, It is always better to use the % coz it does not distort your view with different screen resolutions.
    - while creating the iview, you have the property like 'HeightType'. There you can set the value as FIXED, AUTOMATIC & FULL_PAGE. If you wish, you may leave it as it is.
    - All you have the properties like 'Fixed Height' etc to set the size values.
    Regards
    Chander Kararia
    # Please close the thread once get the correct answer. Give rewards for answers.
    Edited by: Chander Kararia on Feb 20, 2009 9:55 AM

  • How to find out if a directory exists

    I have a directory path as an input parameter to my stored procedure. I would like to validate the path. i have seen several examples using xp_fileexist. Are there any gotchas when using this? It sounds like it will not work for unc paths (\\asdfasdf\asfas).
    But does a security setting need to be turned on? is there another way to validate a path?

    SSIS is better fit than T-SQL for directory related tasks.
    If xp_cmdshell active, you can use DOS commands:
    http://www.sqlusa.com/bestpractices2005/filesindirectory/
    You can also use PowerShell:
    http://technet.microsoft.com/en-us/library/dd315304.aspx
    Security considerations:
    http://stackoverflow.com/questions/11740000/check-for-file-exists-or-not-in-sql-server
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to find out the current VM Version?

    hi
    I want to find out with witch VM Version my java application runs.
    what methods or syntax do I need to get the VM Version as a return value.
    thanx in advance for the replies.

    Hi! Look at the docs for the getProperties() method in the java.lang.System class. It lists several properties related to the VM that you can retrieve at run time.
    Hope this helps!
    Cheers!

Maybe you are looking for

  • Error message when opening image or Preferences

    I use an HP computer with 2 MB RAM and XP SP 3. I have downloaded the trial version of CS4 twice, but in both cases I get an error message and the programme shuts down when I open an image (any type) or Preferences. My graphics card is Nvidea GeForce

  • Inspire t6100 speaker with iMac (OS X 10.6.6)

    -I just bought a new iMac and already having Inspire T6100 and Creative X-Fi Sound Card. The iMac has Headphone/optical digital audio output (minijack) in it but I have almost no idea how to make iMac work with the T6100 speaker. Any help wold be app

  • ORA-01013: user requested cancel of current operation Disconnected from Ora

    Hi Hussein; When i run my script for cold backup in r11.5.10.2 solaris 9.2.0.8 database it gives me: ORA-01013: user requested cancel of current operation Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Par

  • Issue with keychain access in Safari

    Hello everyone! I have a strange problem. After I used the migration assistant in Mac OS X 10.5.6 my keychain has all my old passwords etc. but Safari doesnt fill the password field. It only fills the name of the user. For example I visit a webpage w

  • How to install Airport utility without windows 7

    I just bought Apple Airport Extreme.  Everything is plugged in and Airport Utility did not install.  What if I do not have Windows 7?  How do I get my network setup?