Adobe air native installer is not including .class files and .properties files - actionscript-3

I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?
Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?

Honestly not sure why it's excluding those on you. But you can right click the project in the project navigator panel, go to properties, on the left side navigation select "Flex Build Packaging", click the "Package Contents" tab on the right, make sure the files you want are selected. If they aren't there I would guess somehow these files aren't being seen in the source path, check that under Flex Build Path -> Source Path.
EDIT:
Found this as a duplicate, following the steps to go to window preferences and remove the exclusions seems to have worked.
Add .properties file to output folder of Flex project

Related

Missing skins in the output file?

Description Resource Path Location Type The swc
'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\advancedgrids.swc' has
style defaults and is in the library-path, which means dependencies
will be linked in without the styles. This can cause applications,
which use the output swc, to have missing skins. The swc should be
put in the external-library-path.
SharedSledi Unknown Flex Problem
The swc 'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\charts.swc' has
style defaults and is in the library-path, which means dependencies
will be linked in without the styles. This can cause applications,
which use the output swc, to have missing skins. The swc should be
put in the external-library-path.
SharedSledi Unknown Flex Problem
The swc 'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\framework.swc'
has style defaults and is in the library-path, which means
dependencies will be linked in without the styles. This can cause
applications, which use the output swc, to have missing skins. The
swc should be put in the
external-library-path.
SharedSledi Unknown Flex Problem The swc
'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\mx\mx.swc' has style
defaults and is in the library-path, which means dependencies will be
linked in without the styles. This can cause applications, which use
the output swc, to have missing skins. The swc should be put in the
external-library-path.
SharedSledi Unknown Flex Problem The swc
'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\spark.swc' has style
defaults and is in the library-path, which means dependencies will be
linked in without the styles. This can cause applications, which use
the output swc, to have missing skins. The swc should be put in the
external-library-path. SharedSledi Unknown Flex Problem
How to resolve this issue with the missing default skins ?
As the error message suggests : "The swc should be put in the external-library-path"
Check this official guide : Use Flex library projects, specifically read this section link. To quote :
1) Add a SWC file to the library path
Add a SWC file to the library path
With a project selected in the Package Explorer, select Project > Properties > Flex Build Path.
Click the Library Path tab.
Select any of these options to add SWC files:
Add Project Adds a Flex library project.
Add SWC Folder Lets you add a folder that contains SWC files.
Add SWC Adds a compiled SWC file.
Add Flex SDK Lets you add other Flex SDKs. If your project already has a Flex SDK in its library path, this button is disabled.
If you remove the existing Flex SDK from your library path, the button
is enabled. When you click this button, a Flex SDK node is added, but
you are not prompted which one is added. To control which Flex SDK to
use, select Project > Properties > Flex Compiler.
Enter or browse to and select the location of the SWC file, project, or folder. Click OK. The SWC file, library project, or folder
is added to the library path.
2) Set SWC as External Library...
Set the SWC file as an external library file
With a project selected in the Package Explorer, select Project > Properties > Flex Build Path.
Select the Library Path tab, and then select and expand the SWC file entry to display the SWC options.
Double-click the Link Type option. The Library Path Items Options dialog box appears
Select the External option, and click OK.
This procedure is the equivalent of using the external-library-path
compiler option.
PS: This Answer might have some clue for you, if you're willing to edit Flash Builder's XML files.

Set default path to check for reference links

I am a user of PHP-Storm and have been using it for years, the only issue I have ever had is the fact that phpstorm always tells me I am missing my reference links when I try to reference images, css styles, fonts, ect. I have looked for a way to set the default path for them but I can only ever find things related to document roots server sided.
My situation:
My root path on server for nginx: /var/www/html/app/vg/public
PHPSTORM deployment path: /var/www/html/app/vg
PHPSTORM local path: C:\Users\A\PhpstormProjects\VG Official Zend
The reason that looks weird is because I am using zend-framework-2
So a reference that works in the code looks like this: (ignore live links)
Mark parent folder of the /salute/ folder as Resource Root.
This can be done via
context menu in Project View panel
Settings/Preferences | Project | Directories
As for "live links" -- place caret there, Alt + Enter and choose Download Library -- IDE will download that file locally and will make new JavaScript library for it.
If you do not want to download them then I may suggest to just disable that particular inspection (same Alt + Enter but instead using Enter on "Download Library" item use Arrow Right (or expand sub menu with mouse) and go from there with the right option.

Is there a way to configure eclipse that it treats gss files like css files?

I want to enable eclipse specific code completion and syntax highlighting for css to files that ends with gss. The gss files are similar to css files. They are called closure-stylesheets.
Is there a way to configure eclipse that it treats gss files like css files to get code completion enabled?
For individual files you can just right click on the file and select 'Open With > CSS editor' (this will be remembered for future editing)
To set for all files go to 'Preferences > General > Content Types'. Find 'CSS' under 'Text' and click 'Add...' to add a '*.gss' association.

auto complete intellij - less/css

I have some problems with css auto complete on my html files.
My project is java project on spring/bootstrap. I have less file that is compiled to css later on. On my html files I don't have access to classes from less or bootstrap files. I have "webapp" folder configured correctly in project.
CSS files are in:
a) webapp\css\less\main.less
b) webapp\css\ (bootstrap, main.css main.min.css)
Is it possible to add css (class) completition to html files that are created in project?
It should do it out of the box for css: http://www.jetbrains.com/editors/html_css_editor.jsp?ide=idea
for LESS however you might need to use a plugin : https://plugins.jetbrains.com/plugin/7059?pr=idea
I know LESS works out of the box with WebStorm and PHPStorm, though
If it still doesn't work, you might need to set the right file extension or associate that file with a certain interpreter

How to add icon for different file type in sublime 2

I want to switch my text editor to Sublime text 2 but the only issue cant let me do it.
I work with big projects and need very quick to navigate between files. ST2 sidebar doesnt support icon packs on such files .css, .html, ,php, .js etc. I found some article where the one guy explains how to do that - https://sublimetext.userecho.com/topic/19274-theming-of-the-sidebar/ I tried it but nothing happens. I tried do changes on the user-settings file. I suppose I do something wrong
If somebody knows how to do this please help
The newest stable version of Sublime Text 3 has sidebar themeing and many themes (not colour schemes) have added support for custom icons.
So upgrade to this: http://www.sublimetext.com/3
and then either use the default theme, or something like Soda theme to get custom sidebar icons.
For ST3 users. Adding icons for different file types and folders to default theme:
Download archive with icons. Or this one.
Go to Preferences > Browse Packages (In Windows find the Browse packages button to open the packages folder)
Copy(extract) folder from archive to packages folder. If you already have a
Theme - Default folder then just merge them.
Done. Thanks to Xavi Esteve