Local EJB3 DC builds use a 1.4 compiler
Hello,
my NWDS 7.10 was configured to use a JDK 1.4 for some time. Now I want to build an EJB 3 Project in a Local Development DC. The problem is that the studio still uses the 1.4 compiler when I trigger a build with Development Component -> build and does cannot compile Java 5 code.
I have already checked Window -> Preferences -> Development Infrastructure -> DC Build as well as Window -> Preferences -> Java -> Installed JREs, deleted the 1.4 entries and have both point to 1.5 compilers.
Below are the details of an empty EJB3 Project build:
Development Component Build (2008-08-14 15:25:42 GMT+01:00 (CEST))
Component name: sample
Component vendor: demo.sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: localDevelopment
Source code location: [...]
DC root folder: [...]\LocalDevelopment\DCs\demo.sap.com\sample\_comp\
DC type: J2EE
DC subtype: EJBModule
Host: [...]
DC Model check:
DC is available locally
validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
validating dependency to public part "api" of DC "sap.com/engine.jee5.facade"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/ejbmodule
starting build plugin from : [...]\LocalDevelopment\SAP_BUILDT\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJBModulePlugin', Version 7.10 SP 5 (NW07_05_REL, built on 2008-02-23 14:17:39 +0100, CL15689)
development component: sample (demo.sap.com)
software component: MyComponents (demo.sap.com)
location: localDevelopment
type: J2EE, subtype EJBModule
build variant: default
source location: I5632@BFEN289
output location: [...]\LocalDevelopment\t2\58863262F718CEDBB34C7F3A7EE37F53\default
generation folder: [...]\LocalDevelopment\t\58863262F718CEDBB34C7F3A7EE37F53
plugin start time: 2008-08-14 15:25:42 GMT+01:00 (CEST)
Java VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Checking path lengths for sources
Path length checks finished in 0 seconds
Preparing data context..
No public part descriptor found in [...]\workspace.jdi.jdi\LocalDevelopment\ENGFACADE\sap.com\engine.jee5.facade\_comp\gen\default\public\api, using legacy mode.
Using custom manifest file "ejbModule/META-INF/MANIFEST.MF"
Data context preparation finished in 0.078 seconds
Creating Ant build file..
Creating output file: [...]\LocalDevelopment\t2\58863262F718CEDBB34C7F3A7EE37F53\default\logs\build.xml
Using Java class: com.sap.tc.buildplugin.BuildEJBModule
Build file creation finished in 0.047 seconds
Starting Ant..
Using build file: [...]\LocalDevelopment\t2\58863262F718CEDBB34C7F3A7EE37F53\default\logs\build.xml
Using build target: build
Using Ant version: 1.6.4
compile:
[echo] Forking Java compiler as a new process: C:\j2sdk1.4.2_15\bin\javac.exe
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: default
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: 1.4
[echo] target: 1.4
[echo] source path: [...]\LocalDevelopment\DCs\demo.sap.com\sample\_comp\ejbModule
[echo] class path:
[echo] [...]\LocalDevelopment\ENGFACADE\sap.com\engine.jee5.facade\_comp\gen\default\public\api\lib\java\ec~java~jsf.jar
[echo] [...]\LocalDevelopment\ENGFACADE\sap.com\engine.jee5.facade\_comp\gen\default\public\api\lib\java\engine.jee5.facade.jar
[echo] output dir: [...]\LocalDevelopment\t\58863262F718CEDBB34C7F3A7EE37F53\classes
[timer] Java compilation finished in 0.016 seconds
[echo] Start XLF conversion
[timer] XLF conversion finished in 0 seconds
createPublicParts:
[pppacker] Packing public part 'client'
[pppacker] Packed 0 files for entity demo.sap.com~sample_client (EJB-Client-JAR)
[pppacker] Packed 1 entity for public part 'client'
[timer] Packing of public part 'client' finished in 0.016 seconds
[pppacker] Packing public part 'ejbjar'
[pppacker] Packed 2 files for entity demo.sap.com~sample (EJB-JAR)
[pppacker] Packed 1 entity for public part 'ejbjar'
[timer] Packing of public part 'ejbjar' finished in 0.046 seconds
Ant runtime 0.125 seconds
Ant build finished OK
Build plugin finished at 2008-08-14 15:25:43 GMT+01:00 (CEST)
Total build plugin runtime: 0.359 seconds
Build finished OK
==== Post-Processing ==== started at 2008-08-14 15:25:43.213 CEST
Comparison of previous and actual build results took: 0 seconds
Copy the build results
from: [...]\LocalDevelopment\t2\58863262F718CEDBB34C7F3A7EE37F53\default\
to: [...]\LocalDevelopment\DCs\demo.sap.com\sample\_comp\gen\default\
Deleting all workspaces, saved setings and NWDS followed by a reinstall might fix it. But maybe somebody knows where the compiler settings for a DC build are stored.
Thanks for your help!
Ok, I found it...
There's a small sly file jdkPreferences.txt lurking in the workspace/LocalDevelopment folder. I changed it from
#JDK Properties for Configuration LocalDevelopment
#Tue Jun 24 10:32:21 CEST 2008
jdk_source=1.4
jdk_path=C\:\\j2sdk1.4.2_15
jdk_target=1.4
to
#JDK Properties for Configuration LocalDevelopment
#Tue Jun 24 10:32:21 CEST 2008
jdk_source=1.5
jdk_path=C\:\\Programme\\Java\\jrockit-R27.4.0-jdk1.6.0_02
jdk_target=1.5
and now my Local Components can be built.
Similar Messages
-
What the "Local RTP Service" is used for in OWB 9.2.0?
What the "Local RTP Service" is used for in OWB 9.2.0?
Dmitry,
The Runtime Platform (RTP) Service is the server-side component of Warehouse Builder that provides execution and deployment services. For example, if the RTP Service is down you will not be able to start Deployment Manager and will get the error message to that effect. RTP Service is invoked through a database job that is automatically started when the database is started and shut down when the database is shut down.
It is also manually controllable through Start menu shortcut on Windows or start_service.sql / stop_service.sql in [OWB Home]/owb/rtp/sql
Nikolai -
Is there any college or university that offers a course on Web Site Building using I Web?
Is there any college or university that offers a course on Web Site Building using I Web?
Check with your local Apple store for the next workshop for iWeb. It'll be a hands on session learning to use iWeb. It'll be more technical than design oriented.
OT -
Cannot access Adobe Folio Builder using Indesign (CS6) on Windows 7, error message is 'An error has occured while trying to sign in to the Folio Builder Panel' [IMS_ERROR_FAILURE]
Yes, I can open the DPS portal via the Folio Builder panel within InDesign. Although I have created Folios locally within InDesign CS6, the DPS portal is empty and everthing greyed out with just the text "There are no folios to display. Create folios with the folio builder in InDesign".
If I try to sign in within the Folio Builder panel in InDesign, I get the error message [IMS_ERROR_FAILURE] . In addition I am also not able to access the "Help" menu from within InDesign although I am connected to the internet.
To complicate it even further, I am working in the UK whereas all internet control (firewall) and licences are handeled by head office in Germany. I am not sure if this is a firwewall issue or not but if the IT department in Germany could get support from Adobe to understand the access requirements, this may help.
Hopefully using the forum someone out there will know the answer. -
New Build using MSI 6600GT 256 PCI-E no Display
Hi all,
Please offer some advice and help me out please.
Just finished a new build.
Intel l775 p4 3.4 ghz on an Asus P5AD2- E Premium board, using MSI 6600gt 256mb PCI-E video card. 2gig Ram
Done plenty of AMD builds using AGP cards so this is a little different for me!
Have finished putting it all together.
Upon power up for the first time im getting no output to monitor?
card has Svideo out and two DVI conectors, im using an anoloug monitor using the DVI to anoulge converter thingy that is supplied.
Monitor just displays no input detected, monitor is fine as works on old system..
Many thanks
Andydavidfrisby,
This thread is two years old, and no one replied.
Open up your own topic and we can go from there. -
Adding new column in an existing report which was build using Union
While working in OBIEE 11g I encounter an issue.
My existing report was build using UNION at Criteria Tab in Analysis. Now I have a requirement to add a new column into the same report. For each criteria I have added the new column but when I go back to the "Result Columns". I see a new field added but it is not allowing me to open or edit column properties for that new column & at the same time it is not allowing me to navigate to other tabs like Results, Promts, and Advanced.
I don’t want to build this report from scratch. Is there any workaround to get it resolved?Hi,
Just check it once the new added column data types are mismatched or not?
and the new added column should be navigated into excluded section, so u should edit the report and dragged into the table column section.
Thanks.. -
Revision: 3120
Author: [email protected]
Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
Log Message:
When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
Modified Paths:
flex/sdk/trunk/build.xml
flex/sdk/trunk/webapps/webtier/build.xml
Added Paths:
flex/sdk/trunk/templates/client-side-detection/
flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
flex/sdk/trunk/templates/client-side-detection/index.template.html
flex/sdk/trunk/templates/client-side-detection-with-history/
flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
flex/sdk/trunk/templates/client-side-detection-with-history/history/
flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
flex/sdk/trunk/templates/express-installation/
flex/sdk/trunk/templates/express-installation/AC_OETags.js
flex/sdk/trunk/templates/express-installation/index.template.html
flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
flex/sdk/trunk/templates/express-installation-with-history/
flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
flex/sdk/trunk/templates/express-installation-with-history/history/
flex/sdk/trunk/templates/express-installation-with-history/history/history.css
flex/sdk/trunk/templates/express-installation-with-history/history/history.js
flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
flex/sdk/trunk/templates/express-installation-with-history/index.template.html
flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
flex/sdk/trunk/templates/metadata/
flex/sdk/trunk/templates/metadata/AC_OETags.js
flex/sdk/trunk/templates/metadata/readme.txt
flex/sdk/trunk/templates/no-player-detection/
flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
flex/sdk/trunk/templates/no-player-detection/index.template.html
flex/sdk/trunk/templates/no-player-detection-with-history/
flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
flex/sdk/trunk/templates/no-player-detection-with-history/history/
flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
Removed Paths:
flex/sdk/trunk/templates/html-templates/Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Calling Webservice defined in SAP R/3 in Flex builder using mx:Webservice
Hi All,
I am calling R/3 webservices in Flex builder using <mx:webservice> tag. but the wsdl is not accepting additional parameters like &, = ....
when I try to run this code Flex builder is generating an error
<mx:WebService id="ws" wsdl="http://localhost.com:8088/sap/bc/srt/rfc/sap/Z_SIMPLE_TEST_WS?<b>sap-client=030</b>&wsdl<b>=1.1</b>"
useProxy="false"
result="handleResult(event)"
fault="handleFault(event)" showBusyCursor="true" >
and when I remove the <b>sap-client=030&</b> and <b>=1.1</b> from the wsdl, the program gets executed, however SAP is calling client 010 as that is the default client.
I would appreciate if anyone can tell how to pass the parameter sap-client=030 in Flex.
Thanks,
Madhavi
Message was edited by:
Madhavi<b></b>
Message was edited by:
Madhaviits because of the & sign. instead use it like below it will work.
Z_SIMPLE_TEST_WS?sap-client=030&emp;wsdl=1.1
in the above line replace 'e' in emp with 'a' (amp)
Raja -
Hi,
Currently, I am developing a powershell script for Flex build automation.
I found some problem and have been trying to search any references and tried any ways to fix it but It did not work.
I am using compc.exe for compiling the libraries and it works fine.
I compiled css files into swf files using mxmlc.exe and it works fine.
However, I have a problem while building my main application (mxml file).
It complains about embedded resources.
I run this command, it works fine:
"C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\styleLang.css" -output "C:\{somePath}\FlashClient_deploy\styleLang.swf"
However, when I tried to run these command on cmd for testing:
"C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\FlashClient.mxml" -load-config "C:\{somePath}\FlashClient\src\dump_config_temp.xml" -output "C:\{somePath}\FlashClient_deploy\flashclient_test.swf"
I got a lot of this error message:
this is my folder structure:
FlashClient
|
|---assets
|---src
|
|---FlashClient.mxml
|---FlashClient.as
|---FlashClientStyleLoopup.css
|---styleLang
Already tried to add / at the beginning of the relative paths but It did not work.
Also tried to compile one of the image to a swc file and include it on the dump_config, but also did not work. something similar with Tech Diary: Flex : Solution to Error: unable to resolve '/assets/icons/icon.png' for transcoding using Embed tag
Does anyone know how flex builder resolve the relative path to make the embedded resources work? or how to fix this?
I've been trying to work on it for days but haven't had any luck.
Will be really appreciate it if someone could help me with this.
Many Thanks.Hi,
make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH. -
I am using Apple Developer to make an app. How can I submit my builds using Xcode 5.1.1 or later, or Application Loader 3.0 or later?
The controls in your screenshot are Mac controls, not iOS ones. If you have an iOS project, you can't access those controls. If you want to access those controls, create a Cocoa application project and select the xib file Xcode creates.
-
How to integrate the model build using Oracle10g
Hi All,
I am not getting an idea as how to integrate the model build using Oracle10g into existing application. Suppose i want to use the model then how to automate the whole process.Could you give more details on what you mean by the whole process? Do you mean how to use a model that was built or automate the building of a model?
--Marcos -
Can I get an Ipad with wifi and cellular but no contract with a carrier in the US? I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet.
Yes you can. All Ipad's are unlocked and can be used any where in the world. Buy the AT&T version which is GSM in other countries
-
Metadata build using Outline Load utility in 11.1.2.2
I am looking to automate the process of metadata build using OutlineLoad utility using flat files (csv format).
However the Planning Server is located on UNIX machine. Is there a way the Oracle team can place files on the Planning Server (UNIX box) or can I grab the files from a shared driver ( which I think is not possible but just want to confirm).
Would like to hear from someone who has done this before.
Thanks in advanceThanks John,
I meant that the flat files will come from relational tables and it needs to be placed on Planning Server.
You mentioned that we can use SFTP for file transfer. Can this file transfer process be automated ? I think the answer is yes but just wanted to confirm. -
How to configure Integration Builder using an Integration Process?
Dear experts,
I have problems configuring the Integration builder using a Integration process.
Scenario = idoc to PI, integration process transforms idoc to file, file to external system.
My integration process starts with an abstract interface (structure of idoc) and ends with an abstract interface (structure of file). But I just can not configure the integration builder correctly...
I did it as follows:
Sender agreement: comm.component = SAP system; interface = Idoc;
receiver determination: comm.component = SAP system; interface = Idoc; configured receiver = my integration process;
interface determination: comm.component = SAP system; interface = Idoc; receiver = target system comm.component;
Receiver agreement: comm.component = SAP system; receiver = target system comm.component; interface = filestructure of target
This does not work unfortunately. How can I pass the Idoc to my abstract interface? And how can I pass the result of my integration process (abstract interface) to the inbound interface? In the interface determination I can not select my Operation Mapping (but that should not be nessesary as I already created an Integration Process)...
Hope anyone can help.
Thanks and regards
WilliamJust consider your BPM is receiver, and sender:
Src --> BPM (BPM is Receiver)
==========
Sender Agreement (If it is IDOC or HTTP, then you do not have to create)
Commnunication Channel
Receiver Determination
Interface Determination
BPM --> Target (BPM is sender)
============
Receiver Determination
Interface Determination
Communication Channel
Receiver Agreement
If your BPM interact with other systems, you will have more Receiver Determination and Interface determination, possible Receiver agreement
Hope this clear your doubts
Liang -
IMAC.local is already in use
I keep getting this message every month or so. I change the Network back to "tg-imac.local" and in about the same amount of time, this error comes up again:
The error reads (it does not use the word ERROR anywhere):
This computer's local hostname "tg-IMAC.local" is already in use on this network. The name has been changed to "tg-IMAC-2.local".
To change the local hostname, open System Preferences and click Sharing, then click "Edit" and type the name in the local Hostname field.
The only option is OK to close the message.
I'm getting real tired of changing it back, and having this message pop up again not too long after. I do have 2 IOS devices connected via Wi-Fi and have the IMAC connected to my time capsule and then connected into my network box.
Any ideas how to get this to stop happening?
Thanks everyone!I have the same issue, after reading other posts with the same issue I found a reply that makes sense in my case. (Pasted below). In my network I have 2 Airport Extreme routers and 1 Airport Timecapsule (all broadcastiing the same network name to extend wifi and allow better reach around our house for Apple TV's etc), I suspect that my iMac joins one of the 3 devices, and when it rejoins the duplicate name message appears.
Here is the post that tipped me to a possible cause;
Linc Davis
Re: Keep getting warning message about my Computers Hostname, any solutions please? May 19, 2013 8:09 AM (in response to Basil52)
Sometimes this message means that you have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. Disconnect the Ethernet cable or turn off Wi-Fi.
Sometimes it happens because a device that gets its network address from the router wakes from sleep, and the address it was using before has been assigned to another device.
Rename the computer in the Sharing preference pane.
Maybe you are looking for
-
So just downloaded 5.0 and it deleted all my contacts, how can I get it all back? I already tryed the "Back Up" or "Restore" and it's still blank on my iphone??
-
This is a generic question and nothing to do with coding, but all to do with Java. Personally I am starting to find Java a little bit to vast. For example you have J2SE, J2EE, JDO, then you have Hibernate, Struts, Spring, SWT, and some others which I
-
Hey guys! Brian Chasalow here. Checkin in from a brief hiatus here- I've downloaded the latest SDK version and I'm happy to discover its performance is much improved from previous iterations. However in looking at the GreenScreen sample, I did discov
-
When equipment records are created in ECC they flow thru middleware and create the corresponding comm_product in CRM. In addition, an IBase is created with the equipment as an IOBject. Let's call that product the machine. I need to append the IBase w
-
How to download full version of Illustrator?
I sent an invitation from the Team version to one of my employees. The download selection sheet show "install" for many of the apps, but for Illustrator (AI) it show "try" and when they download, it gives them a 30 day trial version and asks for a s