Flex with java compilation
hi
i have done flex project which contains a videoplayer and some informations.
i have used j2ee server using lcds.
when i run a build.xml file that time the following error occurs
Buildfile: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml
Trying to override old definition of datatype resources
prepare:
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
[copy] Warning: META-INF\MANIFEST.MF modified in the future.
[copy] Warning: WEB-INF\flex\messaging-config.xml modified in the future.
[copy] Warning: WEB-INF\flex\proxy-config.xml modified in the future.
[copy] Warning: WEB-INF\flex\remoting-config.xml modified in the future.
[copy] Warning: WEB-INF\flex\services-config.xml modified in the future.
[copy] Warning: WEB-INF\lib\backport-util-concurrent.jar modified in the future.
[copy] Warning: WEB-INF\lib\cfgatewayadapter.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-codec-1.3.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-fileupload-1.2.1.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-httpclient-3.0.1.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-io-1.4.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-logging.jar modified in the future.
[copy] Warning: WEB-INF\lib\concurrent.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-common.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-core.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-opt.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-proxy.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-remoting.jar modified in the future.
[copy] Warning: WEB-INF\lib\mxmlc.jar modified in the future.
[copy] Warning: WEB-INF\lib\xalan.jar modified in the future.
[copy] Warning: WEB-INF\web.xml modified in the future.
[copy] Warning: modified in the future.
[copy] Warning: META-INF modified in the future.
[copy] Warning: WEB-INF modified in the future.
[copy] Warning: WEB-INF\classes modified in the future.
[copy] Warning: WEB-INF\flex modified in the future.
[copy] Warning: WEB-INF\lib modified in the future.
[copy] Warning: WEB-INF\src modified in the future.
[copy] Copying 24 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
[copy] Copied 9 empty directories to 1 empty directory under E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
[copy] Warning: AC_OETags.js modified in the future.
[copy] Warning: assets\namastecue.flv modified in the future.
[copy] Warning: history\history.css modified in the future.
[copy] Warning: history\history.js modified in the future.
[copy] Warning: history\historyFrame.html modified in the future.
[copy] Warning: icons\16calendar.gif modified in the future.
[copy] Warning: icons\16chat.gif modified in the future.
[copy] Warning: icons\16clock.gif modified in the future.
[copy] Warning: icons\16dairy.gif modified in the future.
[copy] Warning: icons\16files.gif modified in the future.
[copy] Warning: icons\16mail.gif modified in the future.
[copy] Warning: icons\16minus.gif modified in the future.
[copy] Warning: icons\16minus.png modified in the future.
[copy] Warning: icons\16news.gif modified in the future.
[copy] Warning: icons\16next.gif modified in the future.
[copy] Warning: icons\16pad.gif modified in the future.
[copy] Warning: icons\16percent.gif modified in the future.
[copy] Warning: icons\16percent.png modified in the future.
[copy] Warning: icons\16plus.gif modified in the future.
[copy] Warning: icons\16plus.png modified in the future.
[copy] Warning: icons\16previous.gif modified in the future.
[copy] Warning: icons\16previous.png modified in the future.
[copy] Warning: icons\16tag.gif modified in the future.
[copy] Warning: icons\16tag.png modified in the future.
[copy] Warning: icons\32calendar.gif modified in the future.
[copy] Warning: icons\32calendar.png modified in the future.
[copy] Warning: icons\32chat.gif modified in the future.
[copy] Warning: icons\32chat.png modified in the future.
[copy] Warning: icons\32clock.gif modified in the future.
[copy] Warning: icons\32clock.png modified in the future.
[copy] Warning: icons\32dairy.gif modified in the future.
[copy] Warning: icons\32dairy.png modified in the future.
[copy] Warning: icons\32files.gif modified in the future.
[copy] Warning: icons\32files.png modified in the future.
[copy] Warning: icons\32mail.gif modified in the future.
[copy] Warning: icons\32mail.png modified in the future.
[copy] Warning: icons\32minus.gif modified in the future.
[copy] Warning: icons\32minus.png modified in the future.
[copy] Warning: icons\32news.gif modified in the future.
[copy] Warning: icons\32news.png modified in the future.
[copy] Warning: icons\32next.gif modified in the future.
[copy] Warning: icons\32next.png modified in the future.
[copy] Warning: icons\32pad.gif modified in the future.
[copy] Warning: icons\32pad.png modified in the future.
[copy] Warning: icons\32percent.gif modified in the future.
[copy] Warning: icons\32percent.png modified in the future.
[copy] Warning: icons\32plus.gif modified in the future.
[copy] Warning: icons\32plus.png modified in the future.
[copy] Warning: icons\32previous.gif modified in the future.
[copy] Warning: icons\32previous.png modified in the future.
[copy] Warning: icons\32tag.gif modified in the future.
[copy] Warning: icons\32tag.png modified in the future.
[copy] Warning: icons\Thumbs.db modified in the future.
[copy] Warning: icons\alternative_energy.gif modified in the future.
[copy] Warning: icons\alternative_energy.png modified in the future.
[copy] Warning: icons\butterfly.gif modified in the future.
[copy] Warning: icons\butterfly.png modified in the future.
[copy] Warning: icons\cloud.gif modified in the future.
[copy] Warning: icons\forward.png modified in the future.
[copy] Warning: icons\icon_profile_graduate.gif modified in the future.
[copy] Warning: icons\icon_profile_graduate.png modified in the future.
[copy] Warning: icons\icon_profile_man_emp.gif modified in the future.
[copy] Warning: icons\icon_profile_man_emp.png modified in the future.
[copy] Warning: icons\icon_profile_woman_emp.gif modified in the future.
[copy] Warning: icons\icon_profile_woman_emp.png modified in the future.
[copy] Warning: icons\icon_progress.gif modified in the future.
[copy] Warning: icons\icon_progress.png modified in the future.
[copy] Warning: icons\idea_icon.gif modified in the future.
[copy] Warning: icons\idea_icon.png modified in the future.
[copy] Warning: icons\imagelast1.png modified in the future.
[copy] Warning: icons\leaf.gif modified in the future.
[copy] Warning: icons\leaf.png modified in the future.
[copy] Warning: icons\mute.png modified in the future.
[copy] Warning: icons\next .png modified in the future.
[copy] Warning: icons\pause.png modified in the future.
[copy] Warning: icons\pause_grey.png modified in the future.
[copy] Warning: icons\pausenew.png modified in the future.
[copy] Warning: icons\play.png modified in the future.
[copy] Warning: icons\play_big.png modified in the future.
[copy] Warning: icons\play_grey.png modified in the future.
[copy] Warning: icons\playicon.png modified in the future.
[copy] Warning: icons\prev.png modified in the future.
[copy] Warning: icons\repeat.png modified in the future.
[copy] Warning: icons\replay.png modified in the future.
[copy] Warning: icons\rewind.png modified in the future.
[copy] Warning: icons\save_fuel.gif modified in the future.
[copy] Warning: icons\stop.png modified in the future.
[copy] Warning: index.html modified in the future.
[copy] Warning: playerProductInstall.swf modified in the future.
[copy] Warning: modified in the future.
[copy] Warning: assets modified in the future.
[copy] Warning: history modified in the future.
[copy] Warning: icons modified in the future.
[copy] Copying 89 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
build:
[javac] Warning: vid\DAOException.java modified in the future.
[javac] Warning: videocue\videoServiceDAO.java modified in the future.
[javac] Warning: videocue\videoVO.java modified in the future.
[javac] Compiling 3 source files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
BUILD FAILED
E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml:79: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "E:\Program Files\Adobe\Adobe Flash Builder 4\jre"
Total time: 500 milliseconds
how i rectify this problem
regards
athi
Hi,
Please fallow following link
http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
thanks,
atul ([email protected])
Similar Messages
-
Can I compiler servlet with java compiler?
Can I compiler servlet with java compiler?
Here is an example of it:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class HelloWorldServlet extends HttpServlet
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException , IOException
response.setContentType("text/html");
PrintWriter out = response.getWriter();
StringBuffer sb = new StringBuffer();
sb.append("<html><body><h1>");
sb.append("Hello World");
sb.append("</h1></body></html>");
out.print(sb.toString());
out.close();
}Can I compiler servlet with java compiler?
yes.
just include the correct jarfiles in your classpath. -
Flex with Ruby or Flex with Java
Hi,
I need to use SNMP/SLP protocols in my application.
So i have plan to develop the Applcation using Flex and Ruby or Flex and Java(HttpServices). In future the applicaiton may need enhanced.
please any one of you help me , which one is the bset way to develop the applcation.
Thanks,
RaviI would go with whatever backend is more familiar to the developers and to the ones who will have to updates the application.
-
Flex with Java - DB data access
Hello, folks,
I am developing a Java application and realized that I need
some advice. My application is simple:
I have a MSSQL server, tomcat 5.5 ,flex data services.
In my application , i have two combo boxes.. country, town..
i have populated the country combobox with the values from
DB(country table) obtained using the fill(List ListArgs) in
Assembler Class.
Now, based on the country selected in have to populate my
town combobox from (town table)
How can i populate the town combobox from the DB based on the
country code?
Is there any function to pass the selected index and populate
the town combo box..????
My code is as below:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" >
<mx:DataService id="ds" destination="quick-search-country"
autoCommit="false" autoSyncEnabled="false"/>
<mx:DataService id="tds" destination="quick-search-town"
autoCommit="false" autoSyncEnabled="false"/>
<mx:ArrayCollection id="cntry_list"/>
<mx:ArrayCollection id="town_list"/>
mx:Panel layout="absolute" backgroundColor="#c6daf5"
verticalCenter="0" horizontalCenter="0">
<mx:Form id="SearchForm">
<mx:TabNavigator >
<mx:Canvas label="Hotel" width="339" height="234"
backgroundColor="#ffffff">
<mx:Label x="10" y="91" text="Country :" alpha="0.12"
/>
<mx:ComboBox x="93" y="89" fontSize="10" id="Country"
dataProvider="{cntry_list}"
labelField="countryName"
creationComplete="ds.fill(cntry_list)"
change="tds.getItem(Country.selectedItem)" prompt="United
Kingdom" >
</mx:ComboBox>
<mx:Label x="10" y="126" text="Town / City :"
fontFamily="Georgia" alpha="0.12"/>
<mx:ComboBox id="town" x="94" y="124" fontSize="10"
dataProvider="{town_list}"
labelField="townName" prompt="London WC1" >
</mx:ComboBox>
</mx:Canvas>
</mx:TabNavigator>
</mx:Form>
</mx:Panel>
</mx:Application>
this is my main.mxml . I have CountryAssembler to fill the
country combo and a DAO class . Have a Town assembler..
Please advice me on how to populate the town combo based on
country selected from the DB...
I am really stuck up... and also dont have any documentation
on Flex data services with Java support..
please give me some suggestions on this.
Thanks in Advance,
AmbiliHi Mete,
Thanks for ur reply , Mete. Your reply helped me a lot. Am
using FDS 2.0.
I have a doubt in combo box area itself.
I have two tables by name country_list and town_list
country_list consists of identity column , country_name and
country_code
town_list has identity column, country_code, town_code and
town_name
Normally while we use combobox in jsp, we have key value
pairs for combo box..
For eg:- if we have a Country combo , we have the country
name(United States) as text displayed and its country code (US) as
key.
So if i select the United States , i will be returned with
the value 'US' so that i can use it in query directly as
Select town_name, town_code from town_list where country_code
='US'
But while using flex , am not able to retieve the
country_code from country combo. its only returning the text and
the id.
Here am forced to write a nested query as follows
Select town_name, town_code from town_list where country_code
=( Select country_code from country_list where country_name='United
States')
Is there any way to get the country_code as key while i
select the country from country combo .
And also how to keep 'United States' as selected during the
intial load of the page.
<mx:ArrayCollection id="cntry_list"/>
<mx:ComboBox x="93" y="89" fontSize="10" id="Country"
dataProvider="{cntry_list}"
labelField="countryName"
creationComplete="ds.fill(cntry_list)"
prompt="Select Country" />
please give me some suggestions on this.
Thanks in Advance,
Ambili -
Dear Experts,
I would like to develop one small CRM Product using JAVA Programming Language, However which concepts of Java to be used for development is still on it's way to Identify. recently I heared of Adobe Flex concept and have done enough research to explore the use and it's quite interesting.
I though to Use Adobe Flex (Flash Builder) as an User Interface (UI) for my application for attractive look and feel, where as business logic should be in JAVA program. UI has to receive User commands from front-end and process to back-end application logic for processing.
Can anybody kindly advise on bellow of my doubts:
1. Is Flex Professional user License is just enough to build my application or anyother components to buy to integrate with JAVA/J2EE Code i.e. Live Cycle Services?
2. Use of Live Cycle Services and it's Cost per User/CPU?
3. Validity period of Flex Builder License (Life time or Specific period)
4. How can I get more detailed information on Product, Services etc., from Adobe and it's contact number. as I'm in India.
Kindly advise on my above queries and it would be a great help.. Many Thanks in advance.
Best regards,
SrujanHi,
Please fallow following link
http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
thanks,
atul ([email protected]) -
Constants with Java Compiler ?
When recompiling java files which contains CONSTANTS, I mean static final variables,
I should also recompile the classes from
which these constants are referred to. Otherwise
I get buggy results. Is this an aimed result of
Java or a bug of Java, I wonder ?my statement is TRUE also if the member is not declared as "final". When a Java Compiler do work,
it replaces "REFERENCES TO MEMBERS ASSIGNED CONSTANT VALUES" with their compile-time assigned values. Thus,
--------- here is A.java ----------
public class A {
public static void main(String [] str) {
System.out.println(""+ b.b);
---- here is B.java --------------
public class B {
static final int b = 10;
after producing A.class and B.class , if reproduce
B.class to have member b = 20 then,
java A
is gonna print out 10, so not displaying the real value ??
I think One class' compilation should not be dependent
to others classes' compilation. It seems to be a BUG of Java ? Does'nt ?
When recompiling java files which containsCONSTANTS,
I mean static final variables,
I should also recompile the classes from
which these constants are referred to. Otherwise
I get buggy results. Is this an aimed result of
Java or a bug of Java, I wonder ?static final int number = 3;
MyClass.number will be parsed to 3, since it's
guaranteed not to change unless you of course modify
the source. -
Adobe Flex with Java webdynpro
Hello,
I like to use Adobe flex applications for my webdynpro java projects which then later I can use in portals. I need some learning materials for that. I was looking from google but I haven't found many sources. if you guys can help me out then It would be great.
Regards,
NKHi Bala,
Adobe Flex is not similar to Java Webdynpro. You can get more information from the Adobe Webpage and also a trial version. Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video <a href="http://www.sapteched.com/emea/activities/videos/DemoJam.wmv">here.</a>
Best Regards,
Marcel -
Login security in flex with Java
Hi ,
I am looking for login secruity with session in flex.
Thanks,
AlokIf you want to use Java as the back end, you have BlazeDS and
LiveCycle Data services to make your programming simpler. BlazeDS
and LCDS will allow you to invoke the Java classes from the Flex
application. For more details on BlazeDS and LCDS visit the URLs
below.
http://www.adobe.com/products/livecycle/dataservices/
http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
Hope this helps. -
I have an java object which returns a map and its a stand
alone application how can i call java object in a flex application.
any sample code is really helpfull for me.
Thanks in advance
Poorna.BlazeDS is your best bet. Try this tutorial,
http://www.flexlive.net/?p=92 -
Using Flex Performance Profiler for Profiling Flex with Java Applications
Hi , I am planning to use Flex Profiler to profile my Application .
I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds .
Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods
"You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .Thanks Karl for the prompt response .
I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
So my question is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods . -
Communicate flex with java offline
Hi, i have a java desktop application and a flex desktop application.
I want to incude the java proyect into the flex proyect, without blazeDS or any other service.
I need it to be offline. Is it possible?
Thanks!Hi,
Please fallow following link
http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
thanks,
atul ([email protected]) -
Hi Friends
I'm developing Flex with java using Blaze-DS under the
Spring MVC. I've problem in using Jboss, Based on BlazeDS
Installation guide
http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide
configure the jboss with Flex.There is no problem with Flex running
in Jboss but it couldn't establish connection and business logic
with java, The Jboss server couldn't through any errors. These same
war file run under the tomcat server. So please help me to solve
this problem.
Thanks&Regrads
PrakasamI don't have any experience with Spring MVC but I was using
JBoss with Blaze-DS without a problem.
so my next question is, can you make a echo to work??
eg, make a function that returns the input string back to the
flex client.
Ries -
How to use Flex with EJB3?
Anybody know how to integrate Flex with Java?
I have a EJB3 project with JPA etc...
Have to use Eclipse with Flex plugin or can i use Flex Builder and Eclipse only for java classes? (preferring the second option)
I'm getting crazy, because need this for my college work, too fast as possible.
Please any explanation or sample.
Thanks everyone.Matt you say, i do not need to write servlet, create wsdl...
But if i dont do this, my Java Business Rules will be visible to client ?
If yes...
1- I need to write Servlet to use HTTP protocol to connect with Flex, then create wsdl of my EJB3.
2- This wsdl will create client side of my application, then i create my Flex interface normally using HTTP Blaze DS ? -
Tomcat/Java Compiler crash
The following issue is running on a HP/UX 11i V2 Itanium Superdome server.
We have a vendor application being deployed with Tomcat. The versions of Tomcat and java are:
Tomcat is 5.0.28 (required by vendor)
java is 1.4.2.10 (required by vendor)
Tomcat is randomly crashing with the following:
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [2]: SEGV_ACCERR [addr: 0xc00]
Aborting...
Unexpected Signal : 11 occurred at PC=0xC56EF780
Function=_ZN7RegMask3ANDERKS_
Compiler thread crashed while compiling a method!
Compiled method class=ibi.broker.util.RCDES
Compiled method name=getStringFromHexString
Compiled method signature=(Ljava/lang/String;)Ljava/lang/String;
Library=/opt/java1.4/jre/lib/IA64N/server/libjvm.so
Current Java thread:
"CompilerThread0" daemon prio=7 tid=00064c50 nid=9 lwp_id=3017 runnable [0x00000
000..0x6a4001f8]
This is a problem with java compiling a method out of a class/jar file, correct? So, I added the following directive in the catalina.sh file for the JAVA_OPTS:
-XX:CompileCommand= exclude,ibi/broker/util/RCDES,getStringFromHexString
This should prevent the suspect method from getting compiled. And it does. The catalina.out file has
### Excluding compile: ibi.broker.util.RCDES::getStringFromHexString
which verifies this.
Well, then vendor thinks this is a problem with either Tomcat or Java.
So, does anyone think this is really a Tomcat or Java problem or a problem with the vendors method? I was able to find the jar file with the class file that contains this method. Since this is in a class file, is there a way to manually compile this method to see if I can reproduce the problem?The JVM should never segfault. Unless you are using JNI it shouldn't be possible to write code that causes this sort of behaviour.
So when you see a segfault it usually boils down to (in no particular order) one of:
1. Hardware problem
2. JNI (mis)use
3. JVM bug.
Check with the vendor to see if their app includes any JNI logic. If not, try it on known good hardware. If it still falls over, raise a bug with Sun. -
Problem with java and flex web service
Hi,
I have a basic web service written in java using jax ws 2.1
ri. I need to call it from Flex using the WebService class
Annotations for the java web method :
@WebMethod
public void Login(
@WebParam(name="server") String serverURL,
@WebParam(name=AUTHENTICATE_HEADER,header=true,mode=WebParam.Mode.INOUTHolder<Authenticate Header>
authHeader)
When I try and call the service from Flex , it can't find the
login method and attempts to call it fail. If I set the web service
to RPC based using @SOAPBinding , the method is found but then
there are issues with the authentication header.
What do I need to do to get flex web services communicating
succesfully with java ?
Are there are any known compatibility issues ? Or guidelines
for going about this ?
Any help would be appreciatedwell Shay,
i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
I have included all the files java and the compiled classes, but I do not have files jar.
But don't works: if i create only one java class with all code inside then it works fine!!
Daniele
Maybe you are looking for
-
Trying to create a drop down menu in numbers...please help
Hi Can anyone indicate how to go about creating a drop-down menu. Thanks in advance
-
After loading newest Firefox 4.0, I logged into my E-trade brokerage account and tried to use a pull down menu to look at a portfolio, but the menu doesn't respond. I opened an Internet Explorer browser and opened E-trade and everything worked. Seems
-
Modified files not updating/syncing
I have CC installed on my work computer and my home computer. Yesterday at work I copied some of PSD files to my CC folder on my work computer in order to work on them at home last night. Got home - files synced perfectly. I opened them right from wh
-
Calculate lenght of a html page
How can I do calculate the lenght of a vertical scroll bar to estimate the vertical size of a html page. I dont't calculate the size of a windows but the size of a web page. In the class javax.swing.JScrollBar I didn't find never. regards ilCario - h
-
IPad 4 wifi taking 36 hours to download ios8.1.3?
I have an IPad 4 32gb wifi. It performs pretty well but I got a new laptop and decided now as the time to update my ipad to iOS 8.1.3 since I couldn't before due to lack of space. I have the newest version of iTunes. I started to download the iPad iO