Flex Gumbo - Library Path "Include all classes" includes ActionScript Files
I've added an "Actionscript File", i.e. a File with no package/class that is included in an actionscript class.
In FlexBuilder 3, since there was no option to include all classes, I could optionally choose actionscript files.
So, Make Flashbuilder's "include all classes" option to not include Actionscript Files by default.
I opened a bug on jira.
http://bugs.adobe.com/jira/browse/FB-22228
Similar Messages
-
Flex 3 vs Flex 4 Preprocessor directives and code behind (External Actionscript file)
I have a framework that I've built that I want to use on Flex3 and Flex4.
I've added pre-processor directives as per this link (http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.html) and got my Flex 4 code to compile nicely.
I then went to flex 3 and discovered my sub-class of Application wouldn't compile because it was based off of spark. No problem, I'll add in a directive.
Except now my overridden class has duplicate code, specific to which SDK it is using.
No problem, I'll put all of the application class code in an Actionscript file and include it in both Application class declarations for each directive.
It works nicely in Flex 3, so I went to Flex 4, tried to compile and now I'm getting compiler errors saying things such as "The (private|public|protected) attribute may only be used on class property definitions." and "The (private|public|protected) attribute can only be used inside a package.
This same file works in Flex 3, but not in Flex 4.
What can I do to make the code compile in both places?
I'll work on a simple case so I can upload some code.Nevermind.
I got around this issue by renaming my sub-classed Application to "...Application".
Now I can use a directive to specify an import statement for the extends Application portion rather than specifiing the fully qualified spark.components.Application or mx.core.Application.
Lame - but done. -
Include all sub-directories and files?
I did search, so don't complain that this has been asked a billion times.
I am using Automator to replace text for files and folders. But this only works with the files and or folders I select, it doesn't do it with the sub-directories and sub-files. How can I config. Automator to do this?
Thanks.The various actions operate on whatever is input to them. If you are referring to the *Rename Finder Items* action, you can use the *Get Folder Contents* action to go into sub folders, but be careful, since this action will go into bundles/packages such as applications and RTFD files.
-
I am creating an executable file to run on a computer that does not have LabVIEW installed. The problem is that I am using the DAQ Assistant. The VI Hierarchy is rather large, and I am not sure how to include all of the required files to eliminate the error "The full development version of LabVIEw is required to fix the errors." Attached is an image of the VI Hierarchy.
Solved!
Go to Solution.
Attachments:
hierarchy.jpg 419 KBYes I did create an installer. See image installernoDAQmx.jpg
When this is all I do I get an error that subvi is not included, a list of about 6 subvi's. To eliminate this error I manually add the subvi from the dependencies list to the my computer list. This allows me to add them as support files. This eliminates the error about subvi not included, but then I get the error I spoke of earlier.
If I include the DAQmx I get an error. See image installererror.jpg
Not sure what MAX refers to?
Attachments:
installernoDAQmx.jpg 259 KB
installererror.jpg 103 KB
dependencies.jpg 344 KB -
Unsatisfied Link Error : no jsafe in java.library.path
Hi,
When I try to connect to the server securily through a java program (t3s://localhost:7002),I
get the Unsatisfied Link Error: no jsafe in java.library.path(the stack trace
is at the end of this post). I've included all the weblogic jar files(including
lib\weblogicaux.jar) in the classpath at runtime with -classpath command line
option.I've also tried to run the program with
"-Djava.library.path=D:\weblogic\lib\weblogicaux.jar" commandline option to no
avail.Is there something I'm missing?
Any suggestion or help would be appreciated.Hoping for a speedy reply
Regards,
Sreedhar
"here is the stack trace"
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at weblogic.security.RSAMDSignature.verify(RSAMDSignature.java:87)
at weblogic.security.X509.verifySignature(X509.java:223)
at weblogic.security.X509.verify(X509.java:152)
at weblogic.security.SSL.SSLCertificate.verify(SSLCertificate.java:128)
at weblogic.security.SSL.SSLCertificate.input(SSLCertificate.java:107)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.clientInit(SSLSocket.java:343)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:217)
at weblogic.security.SSL.SSLSocket.<init>(SSLSocket.java:170)
at weblogic.socket.JVMSocketT3S.newSocket(JVMSocketT3S.java:29)
at weblogic.socket.JVMSocketT3.newSocketWithRetry(JVMSocketT3.java:275)
at weblogic.socket.JVMSocketT3.connect(JVMSocketT3.java:59)
at weblogic.socket.JVMAbbrevSocket.connect(JVMAbbrevSocket.java:160)
at weblogic.socket.JVMSocketManager.create(JVMSocketManager.java:294)
at
weblogic.rjvm.ConnectionManager.findOrCreateSocket(ConnectionManager.java:91
8)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:339)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:306)
at
weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:248)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:219)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:186)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:195)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:148)
at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:123)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at
com.cbmx.test.ClientTreeModel.getInitialContext(ClientTreeModel.java:169)
at com.cbmx.test.ClientTreeModel.<init>(ClientTreeModel.java:36)
at com.cbmx.test.Frame1.<init>(Frame1.java:13)
at com.cbmx.test.Application1.<init>(Application1.java:11)
at com.cbmx.test.Application1.main(Application1.java:42)I assume your are running on a Unix platform? If so, it looks like you don't
have the native implementation file from the vendor (usually a shared
library file with a ".so" extension) in your LD_LIBRARY_PATH environment
variable.
Giri
"sirigiri sreedhar" <[email protected]> wrote in message
news:[email protected]...
>
Hi,
When I try to connect to the server securily through a java program(t3s://localhost:7002),I
get the Unsatisfied Link Error: no jsafe in java.library.path(the stacktrace
is at the end of this post). I've included all the weblogic jarfiles(including
lib\weblogicaux.jar) in the classpath at runtime with -classpath commandline
option.I've also tried to run the program with
"-Djava.library.path=D:\weblogic\lib\weblogicaux.jar" commandline optionto no
avail.Is there something I'm missing?
Any suggestion or help would be appreciated.Hoping for a speedy reply
Regards,
Sreedhar
"here is the stack trace"
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at weblogic.security.RSAMDSignature.verify(RSAMDSignature.java:87)
at weblogic.security.X509.verifySignature(X509.java:223)
at weblogic.security.X509.verify(X509.java:152)
at weblogic.security.SSL.SSLCertificate.verify(SSLCertificate.java:128)
at weblogic.security.SSL.SSLCertificate.input(SSLCertificate.java:107)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.clientInit(SSLSocket.java:343)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:217)
at weblogic.security.SSL.SSLSocket.<init>(SSLSocket.java:170)
at weblogic.socket.JVMSocketT3S.newSocket(JVMSocketT3S.java:29)
at weblogic.socket.JVMSocketT3.newSocketWithRetry(JVMSocketT3.java:275)
at weblogic.socket.JVMSocketT3.connect(JVMSocketT3.java:59)
at weblogic.socket.JVMAbbrevSocket.connect(JVMAbbrevSocket.java:160)
at weblogic.socket.JVMSocketManager.create(JVMSocketManager.java:294)
at
weblogic.rjvm.ConnectionManager.findOrCreateSocket(ConnectionManager.java:91
8)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:339)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:306)
at
weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:248)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:219)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:186)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:195)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:148)
at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:123)
atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at
com.cbmx.test.ClientTreeModel.getInitialContext(ClientTreeModel.java:169)
at com.cbmx.test.ClientTreeModel.<init>(ClientTreeModel.java:36)
at com.cbmx.test.Frame1.<init>(Frame1.java:13)
at com.cbmx.test.Application1.<init>(Application1.java:11)
at com.cbmx.test.Application1.main(Application1.java:42) -
Help! Itunes library problems of all sorts...
I've been exhaustively searching for ways to merge an old library with play counts etc from a backup to my new itunes library. That still is one question (I could find help for two computers, but couldn't figure out how to use two files on the same computer-ie back up and the active library) however now in trying to do that I have really screwed things up I think.
Here are all my problems- the most recent being that I ended up trying "import playlist" with my xml file...which resulted in a ton of duplicates and still no play counts etc. So now I am hoping to back up to my last library. I had been "exporting library" to back it up before trying these things...
however the problem I was having trying the "option" trick is still in effect. Which is that I do the option, I pick "choose the library" and then all of my .xml files are grey and unchoosable.
I think that I could choose the itunes library file that does NOT say .xml from my computer-- however, I had just created the whole library from my external harddrive, and I don't find one of those files there, only on my mac directly. So will this file be the one that has the thousands of songs I just spent the last days importing? (I did that before realizing the importance of the play count!).
My harddrive crashed before all of this, so I just have the backup file that is a grey square, not the color itunes logo that I am seeing on my computer now (and this is what isn't letting me choose it).
So I guess here are my questions:
Why can't I choose the .xml files?
Does the "export library" actually create a useable backup? If so, how do I restore it?
Then if I can fix this mess- my original goal- how to keep my newest library, while importing play counts/info from a backup .xml file.
MUCH thanks to anyone who can offer me some assistance!!!!!!!!Or the other option I am wondering about is if I can take all of the info off of my ipod, and then sync that with the new library?
Or, if need be, erase the current library. take the info from the ipod to create the base library that would have my play counts etc. However, then I would need to merge that with my master music data files, and there would be no way at this point to know which are on the ipod and which are not- so I'd need to be able to merge without duplicates.
What would you all suggest?? -
My computer crashed necessitating re-install of operating sys and all programs including iTunes. When I click on a song in my library I get an error message "can't find this song, want to search?" What gives? How can I listen to songs in my library on this computer now?
It is working now. I no longer get the message about the item not being available in the US and I can access the store.
-
Shortest path which includes all subset
In graphs (V,E) with negative edge weights but with no negative cycles , X <V and s, t in V .I need an algorithm to decide if exist in the graph ,shortest path from s to t with which includes all the nodes from X
Unfortunately the problem you are trying to solve in NP-complete (it means that the best known algorithm for doing this is exponential in time with respect to size of X) so the best solution is to check every possibility. But if your graph has some special form there may be efficient solution for this problem. In general it's special case is finding [Hamiltonian path|http://en.wikipedia.org/wiki/Hamiltonian_path].
-
I'm using MS Visual Studio C++ 2008 Express. I've included all the paths to the DLL, "visa32.dll" but the LoadLibrary("visa32.dll") call returns the statement that can't convert character string to LPCSTR (pointer). I ran the same code with the Portland Group compiler (which I no longer have) and there was not a problem accessing the DLL. Is there some requirement for the C++ 2008 Express compiler that needs to be met?
Hello jterry,
If you compile as Unicode you need to pass Unicode strings to
Win32 APIs which have LPTSTR or LPWSTR string.
When you want to write code compilable for Unicode
and Ansi just enclose all string constants in _T(). In your case:
LoadLibrary(_T("visa32.dll"))
You can look at this post on the microsoft discussion forums for more information. Have a great day.
O. Proulx
National Instruments
www.ni.com/support -
Including a class I made in all my projects
Hi;
I have developed several classes that I want to use in future developments and I can't find a way to set this classes the same way as the standard Java classes. For example I what to have a folder of all the classes developed by myself and add it to the standard Java classes, so that, for example, in any program I can make a call like this;
include Utilities.MyClass1;
include Utilities.MyClass2;
etc...
Thanks in advanceyou can include a class by
import yourclasspath.class1;
ect
first you must set your compail & run classpath
for example :
classpath = d:\myclasses\test.jar;.;
in test.jar ,store the class you have writen -
I updated my Itunes and my entire library disappeared including all my playlists. How do I fix this?
Are they really gone? Look in your Home > Music > iTunes folder and folders inside. Do you see media there? Also try to use Spotlight to search for things you know you have.
If you keep media on an external drive, are they there? If it is all there, try starting iTunes with the option key held down and guide to the external.
If really gone, use a backup of your drive to restore the iTunes folder.
If no backup and they are really gone, you can download some items from Apple again. You'll have to re-construct the library though as all the playlists, ratings, date added, and some other things will be gone.
Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; only apps, books (not audiobooks), music, and t.v. shows (not movies). Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid. Apple notes it is your responsibility to back up your purchases. -
I purchased movies through iTunes and downloaded them to my PC as well as synced my entire library (including 'all films') to my iPad. However, I cannot seem to find / view the movies on my iPad unless 'Home Sharing' is on?
No. Homeshare let's you view your iTunes library or others on your network.
Movies should be in the video app on the home screen. If they are not there, then make sure when your iPad is plugged into iTunes on your computer...the video tab is checked to sync what you want..make sure you hit apply after. You should see the movies transferring to your iPad in the status bar on the top of iTunes. -
I have just got a new laptop how do i transfer my music library off my iphone onto the new laptop including all my itunes purchased songs
See Here
Transfer from Old to New
http://web.me.com/pondini/AppleTips/Setup.html
Cheers, -
Netbeans 551: Include all libs in project jar file. Possible?
Is it possible to manually, or automaticly, include the /dist/lib directory into my "GonioLabt,jar" to make it more 'stand alone', file wise.
Netbeans generates this dist/README.TXT
========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "GonioLab.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* If the classpath contains a folder of classes or resources, none of the
classpath elements are copied to the dist folder.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.Yes it is possible. The same question has been
killing me all day. Here is how I did it.
(I'm on Mac OS 10.4, but this should work anywhere)
Netbeans produces the following:
dist/myJar.jar
dist/lib/swing-layout-1.0.jar
I would prefer to have only:
dist/myJar.jar
But, as you know, myJar.jar requires the class files
stored in swing-layout-1.0.jar. I unpacked the jar
files and examined the manifest files. Here is how to
unpack and repack the jar files into a single jar
file:
First, I renamed myJar.jar to myJar.zip and let OS X
unarchive the jar for me. I did the same for
swing-layout-1.0.jar.
I then dropped the MANIFEST.MF file from
MyJar/META-INF/ into a new folder on my harddrive
Then, I dropped the package (its a folder full of
class files) from MyJar/ into the same new folder on
my harddrive.
At this point, the new folder contains:
/newFolder/MANIFEST.MF
/newFolder/myPackage/
Then, I grabbed /dist/lib/swing-layout-1.0/org/ and
dropped that into the new folder.
We now have in the new folder:
/newFolder/MANIFEST.MF
/newFolder/myPackage/
/newFolder/org/
Almost done:
Open the MANIFEST.MF file with a text editor. Mine
looked like this:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_07-87 ("Apple Computer, Inc.")
Main-Class: ohm.GUI
Class-Path: lib/swing-layout-1.0.jar
X-COMMENT: Main-Class will be added automatically by
build
I replaced the ENTIRE contents of the file with
this:
Manifest-Version: 1.0
Main-Class: myPackage/Main
Where 'myPackage' is the folder containing my class
files, and 'Main' is the class containing the
'main(String[] args) method.
Save the file and we're ready to repack the archive.
Open the command line (in OS X this is the Terminal)
I assume the syntax is the same in windoze; Navigate
to the new folder you created.
In OSX: cd /newFolder
in windoze: cd \newFolder
Then use java's jar command:
jar cmf MANIFEST.MF MyJar.jar *
What this does:
jar is the command. cmf are flags: the 'c' is for
creating a new jar archive, the 'm' is to specify a
premade manifest file, the 'f' tells jar to write the
results to a file. MyJar.jar is the name you have
chosen for the resulting .jar file. the '*' is a
wildcard character that tells jar to put every file
in the present working directory into the new .jar
Thats it! This produced myJar.jar which worked fine
by itself, as it included all the classes from
swing-layout-1.0.jar. It would be a trivial matter to
write a shell script to do all this for you, unless
of course you use something silly like windows, in
which case you'll have to write a batch file or use
python or something. Good luck, I hope this saves
others time, drop me a e-mail if this was at all
confusing! [email protected]
You should be aware that doing this may well violate the licensing terms for third-party libraries
By the way, what's silly about using Windows? Are you saying you don't develop for Windows because it's "silly"? -
Export all assets including libs
Hi all,
I have set up a library project that contains a lot of AS3 util classes that I use in nearly every project. When I start a new build now I include the lib using the library path tab and all is good.
If at the end of the project I need to give my source code to the client how can I package it up so that it will not fail looking for my external libs? Do I just have to package up my class library as well and hand that over too?
Cheersi believe you would do a "export release built" and it would take care of that for you or you can just hand over the entire project to your client.. if he wants the actual source code.
Miguel
Maybe you are looking for
-
I have working regular expressions and a working sql connection, but I don�t know how to stop the info from getting into the database when input doesent match the regular expression. For instans, you put in an e-mail without an "@" and my program wri
-
BACS File for Vendor Payments in Foreign Currency
Hi, My client has Bank Accounts in UK both in GBP and USD currency. I am trying to generate a BACS file for payments made in currency other than GBP. The BACS file generation for GBP payments are in place and is working fine. But when I am trying to
-
How Can I Repair the Triangle/Exclamation Point Issue?
I have repaired and then Rebuilt my database only to have the same triangle come up while totally putting different Event dates around my photos. This is Apple for crying out loud. This monumentally time consuming answer which doesn't work should n
-
Question about comment command
I have to update comments on a lot of tables. I want to only update date them when the field is null. Does anyone know how this can be accomplished? I want something like COMMENT ON COLUMN TEST.REPORTS.ID IS 'Primary Key' where TEST.REPORT.ID IS NULL
-
SAP GUI 7.20 Frontend screenshot functionality
Hello, as mentioned in the SAP Note 1393114 - "New features in SAP GUI for Windows 7.20" there should be a new Feature called: "Frontend screenshot functionality: The SAP System can now transfer screenshots of the current SAP GUI state to the server.