Making games with Unreal Engine Developer kit??
Is the Unreal Engine Developer Kit only for Windows because I thought Apple doesnt accept apps/games made with windows. I thought you needed a Mac?
I am not familiar with Unreal Engine, but there are other game engines that can be used to create games for iOS/Mac on Windows. You will still need a Mac if you wish to deploy the game to a iOS device, but all development and simulator testing can be performed on windows.
Similar Messages
-
Problems with the eway development kit (eDK) on CAPS 5.1.1
Hi all!
I'm having difficulties trying out the eway development kit(CAPS 5.1.1). I would like to create an oracle AQ eway, but first of all i would like to test out the samples included in the documentation, for instance the edkfile eway.
I've build the sar file from the post implementation zip file, and loaded it in the repository.
When looking at the new eway in the designer, the eway don't have any methods. I was expecting to be able to expand the EDKFILE eway and find a method called write.
The same thing happens to the other samples also. I've build the sar files as described in the guide. Maybee I'm missing out on something.. Well, have anyone tried this out successfully?Hi,
We are using JCAPS5.0 , and I didnt find any eDK plugin with JCAPS,Probabily its available but I am not aware of it or what I didnt know.Can you please provide me information ,how can I develop my own customised eWay and use it in my project.
Thanks,
Renga.S. -
Need help getting started with the ML505 Development Kit
First of all, an admission...I am a newb to the FPGA world. A babe in the wilderness. I am trying to run a simple little logic design to get my feet wet. Four inputs using the WEST, CENTER, SOUTH, and EAST pushbuttons feeding two AND gates which feeds an OR gate which turns on the NORTH LED. I have tried to use the Platform Cable USB to download the project to the XCF32P Platform Flash PROM using the iMPACT software. As of yet I have been unable to get the program to run. The iMPACT program says the programming was successful but after pressing the PROG button, the DONE LED does not turn on. I've tried different settings with the Configuration Address and Mode DIP switches with no success. To anyone using the ML505, given the gear I have at my disposal, what would you recommend? What modes have you used that worked? Thanks in advance.
Here is the latest setup I have used in trying to get my FPGA to read from the Platform FLASH PROM. Configuration Address/Mode DIP switches set to 01011001 as per "My Own Platform Image Demonstration" method in the "ML505/ML506/ML507 Getting Started Tutorial" The Platform Cable USB is plugged into the JTAG connector on the ML505. Its status LED is green. In iMPACT the Boundary Scan reveals the following chain... TDI ----- xcf32p -----xcf32p-----xc9s144x1-----xccace-----xc5vlx50t-----TDO The same mcs file is loaded into both PROMs (xcf32p). I start the programming cycle. It completes and says "Programming Successful" I press the PROG button on the ML505 and the DONE LED does not turn on and the design does not work. With the same chain I add the bit file to the xc5vlx50t so I have the PROMs loaded with mcs files and the FPGA with the bit file. I run the program function again. "Programming successful" is again indicated. The DONE LED lights and the design works. I then press the PROG button. The DONE LED turns off and the design ceases to function. I have also tried this with only one PROM loaded with a mcs file with no success. What am I doing wrong? Am I missing something? Thanks in advance.
-
Can I use Java Card Development Kit 2.2.1 on Windows XP?
Can I use Java Card Development Kit 2.2.1 on Windows XP?
If no, which kit supports XP?It is not as strait forward as per say.
I would like to share some tips that I have learnt duirng my recent experience with Java Card Development Kit 2.1.2 ( It presumed that JAVA SDK and JCDK is properly installed:
Additonal installation
- you need to download Java Communicatons API version 2.o for Windows at http://java.sun.com/products/javacomm/downloads/index.html
- unzip the downloaded file javacom20-win20.zip
- copy comm.jar and javax.com.properties to %JAVA_HOME%\lib
- copy win32com.dll to %JAVA_HOME%\bin
Configuration of Environment
- Activate System under Control Panel
- Click Environment Variable button under Advance Tab.
- Check that JAVA_HOME and JC21_HOME are there under User Variables for user123
- Create a new enviroment by clicking New button under User Variables and Enter "CLASSPATH" for Variable Name and ".;c:\j2sdk1.4.1_04\lib\comm.jar for Variable Value ( the ".;" is important for the entry and varies according to your JAVA_HOME)
Modifying %JC21_HOME%\samples\build_samples.bat
- Next you need to modify the compiler option in build_samples.bat
- Use editor to look for the portion "Compile Sample" and add "- target 1.1" to every statements here. A sample is listed below:
%JAVA_HOME%\bin\javac -target 1.1 %JCFLAGS% src\com\sun\javacard\samples\HelloWorld\*.java
You may proceed to test the demo codes as instrucrted in the User Guide.
I hope the above will help those who are keen to have a head start in Java Card Developemnet. -
Can I use Java Card Development Kit 2.2.1 on Windows XP?
If no, which kit supports XP?It is not as strait forward as per say.
I would like to share some tips that I have learnt duirng my recent experience with Java Card Development Kit 2.1.2 ( It presumed that JAVA SDK and JCDK is properly installed:
Additonal installation
- you need to download Java Communicatons API version 2.o for Windows at http://java.sun.com/products/javacomm/downloads/index.html
- unzip the downloaded file javacom20-win20.zip
- copy comm.jar and javax.com.properties to %JAVA_HOME%\lib
- copy win32com.dll to %JAVA_HOME%\bin
Configuration of Environment
- Activate System under Control Panel
- Click Environment Variable button under Advance Tab.
- Check that JAVA_HOME and JC21_HOME are there under User Variables for user123
- Create a new enviroment by clicking New button under User Variables and Enter "CLASSPATH" for Variable Name and ".;c:\j2sdk1.4.1_04\lib\comm.jar for Variable Value ( the ".;" is important for the entry and varies according to your JAVA_HOME)
Modifying %JC21_HOME%\samples\build_samples.bat
- Next you need to modify the compiler option in build_samples.bat
- Use editor to look for the portion "Compile Sample" and add "- target 1.1" to every statements here. A sample is listed below:
%JAVA_HOME%\bin\javac -target 1.1 %JCFLAGS% src\com\sun\javacard\samples\HelloWorld\*.java
You may proceed to test the demo codes as instrucrted in the User Guide.
I hope the above will help those who are keen to have a head start in Java Card Developemnet. -
License file for Spartan 6 FPGA SP605 / ISE development kit
I have installed the ISE software (ISE Navigator 13.4). I have a voucher that came with the SP650 development kit, device locked to the XC6SLX45T FPGA, which is on this development board. I went to the web and redeemed my voucher, I was expecting an email. This was several hours ago, how long is this supposed to take?
FYI - voucher number is 1586-150702-7E67-097661391
thanks,
SteveHi,
If you do not receive your license by mail, you can download it directly from the Xilinx LIcensing Site.
See the Managing Licensing Key files section in Chapter 2 of the following document.
http://www.xilinx.com/support/documentation/sw_manuals/xilinx13_4/iil.pdf
Thanks,
Rajesh
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
--------------------------------------------------------------------------------------- -
What up with these online custormer assists they don't know what their own product is (ISO SDK app development kit) So this is where they send me when they could have answered me yes or no you need that
What "online customer assist" are you referring to? The only entity at Apple that could or would help you with this issue is Apple Developer Support. Is that who you contacted?
In any case, are you referring to the capacity of the iPad itself? If so, a 16GB will be fine for testing unless you have it loaded up with too much stuff for your app to load and run. If that's not what you meant, please clarify.
Regards. -
If you have a membership with the apple developer community or know anyone who has and also resides within the united states, please contact.
The purpose is to partake in http://www.atari.com/pongdeveloperchallenge
The initial game design document is fully completed and the ideas expressed in it are more than strong enough to compete for the top prizes.
I'm well versed in different programming languages (c, scheme, js, assembly, python,...) as well as being a proficient sound designer and musician and a skilled graphics and animation manipulator myself. Assistance with the actual development would appreciated but is not really necessary.
Winnings and proceedings arising from participation would distributed most fairly. If you know anyone besides yourself that is able to help out, you would also be rewarded financially from an ensuing victory.
Reply to this post, pm or send a gmail to aelgoa
Have a good one
MarnixIf you have a membership with the apple developer community or know anyone who has and also resides within the united states, please contact.
The purpose is to partake in http://www.atari.com/pongdeveloperchallenge
The initial game design document is fully completed and the ideas expressed in it are more than strong enough to compete for the top prizes.
I'm well versed in different programming languages (c, scheme, js, assembly, python,...) as well as being a proficient sound designer and musician and a skilled graphics and animation manipulator myself. Assistance with the actual development would appreciated but is not really necessary.
Winnings and proceedings arising from participation would distributed most fairly. If you know anyone besides yourself that is able to help out, you would also be rewarded financially from an ensuing victory.
Reply to this post, pm or send a gmail to aelgoa
Have a good one
Marnix -
Se development kit (jdk 6) problem creating class file with HelloWorldApp
I downloaded the java SE Development kit (JDK 6) with Java FX SDK and used the download manager from Java web site, the program downloaded the
jdk-6u13-javafx-1_1_1-windows-i586 icon to my desktop and the java program to
C\Program Files\Java\jdk1.6.0_13
Jre1.5.0_05
Jre1.6.0_03
Jre6
I then created a Java source file which was HelloWorldApp.java. and typed in the Hello World Code as requested I saved it to
C\Documents and Settings\Compaq_owner\Java.
Then I try to compile my source file into a .class file and get stuck as I am told to open a command window which I do through, start\allprograms\accessories\command promt.
My command window says C:\Documents and Setting\Compaq_Owner>
I am told to compile my source file and I must change my directory in the command window to the directory where my file is located.
I type after the existing promt, cd C:\java and also tried, cd C:\Documents and Settings\Compaq_Owner\Java\HelloWorldApp. And was told both times the system cannot find the path specified
I typed dir after the promt and can see the java directory there in the list, but have I placed my HelloWorldApp File in the wrong place what is wrong please help I cannot get off the ground
Kind regards petepetefizz wrote:
I then created a Java source file which was HelloWorldApp.java. and typed in the Hello World Code as requested I saved it to
C\Documents and Settings\Compaq_owner\Java.Then the full path to your HelloWorldApp.java file is: C\Documents and Settings\Compaq_owner\Java\HelloWorldApp.java.
Then I try to compile my source file into a .class file and get stuck as I am told to open a command window which I do through, start\allprograms\accessories\command promt.
My command window says C:\Documents and Setting\Compaq_Owner>
I am told to compile my source file and I must change my directory in the command window to the directory where my file is located. You file is located in the directory, C\Documents and Settings\Compaq_owner\Java
I type after the existing promt, cd C:\java and also tried, cd C:\Documents and Settings\Compaq_Owner\Java\HelloWorldApp. And was told both times the system cannot find the path specifiedcd stands for Change Directory. You want to change to the directory where your .java file is. You can not use a path that ends in a file because a file is not a directory.
You may need to put C\Documents and Settings\Compaq_owner\Java inside double quotes, "C\Documents and Settings\Compaq_owner\Java" I think newer versions of Windows will not require the double quotes. -
Installation problems with 9iAS Developer KIT
I have 9iAS installed on one machine with 9iAS infrastructure in it's own home and 9iAS components it's own home.
The Big problem I am having is that each time I try to install the 9iAS developer KIT in 9iAS component home an error about saying cannot install.
So should the 9iAS developer KIT have it's own home? That is different from 9iAS component home on the same machingI have 9iAS installed on one machine with 9iAS infrastructure in it's own home and 9iAS components it's own home.
The Big problem I am having is that each time I try to install the 9iAS developer KIT in 9iAS component home an error about saying cannot install.
So should the 9iAS developer KIT have it's own home? That is different from 9iAS component home on the same maching -
Hi,
I am attempting to install Visual Studio 2013 Ultimate with Update 4 on a Windows 2008 Server R2 machine that also has Visual Studio 2012 Ultimate already installed.
Unfortunately, the installation always hangs on the "Windows Software Development Kit" step. I have let it run overnight and the installation process never gets past this step. I always have to just kill the process, and uninstall.
I have validated the checksum of the ISO, run the .exe as administrator, and also tried to install the software to both the C and D drive.
I have also tried to run the installation with all of the optional components checked as well as with none of the optional components checked.
In addition, I have uninstalled visual studio 2013 using the /uninstall /force command
I have examined the log files produced at C:\Users\MYNAME\AppData\Local\Temp and I dont see anything obviously wrong.
Here are the last few lines of the dd_vs_ultimate_20150109195533_225_Windows_SDK_Desktop.log file
MSI (s) (DC:F0) [20:18:20:263]: Note: 1: 1402 2: UNKNOWN\Installer\Features\A2FE5D06C0E403C2836F952CE631F4A4 3: 2
MSI (s) (DC:F0) [20:18:20:264]: Executing op: FeatureUnpublish(Feature=fe1d729f658fb745208c65956a0785d1b5,,Absent=2,Component=-N^qZe,c5?d.aP0.TOGN'+)%sZY@1xERdO]t)Sp,GXiq3m.l3EZ%Ox4io*FIQjbhz+j*zDWXXjMlUqpxp76U.08$^E=~()4a*jQRrsrMS.QvXF4uY819FP4s^d9K5=JH2CbML)ukS5l7@u%qQhykqD+hxS=.~k}N@%y_t159JF&4~{x$t&nJ)
MSI (s) (DC:F0) [20:18:20:265]: Note: 1: 1402 2: UNKNOWN\Installer\Features\A2FE5D06C0E403C2836F952CE631F4A4 3: 2
MSI (s) (DC:F0) [20:18:20:266]: Executing op: ActionStart(Name=RemoveFiles,Description=Removing files,Template=File: [1], Directory: [9])
MSI (s) (DC:F0) [20:18:20:266]: Executing op: ProgressTotal(Total=2698,Type=1,ByteEquivalent=175000)
MSI (s) (DC:F0) [20:18:20:267]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\Windows Kits\8.0\bin\x86\)
MSI (s) (DC:F0) [20:18:20:267]: Executing op: FileRemove(,FileName=Orca-x86_en-us.msi,,ComponentId={FE5AB6C3-6785-5A16-91A2-857596456EF8})
Does anyone have any ideas of why this is happening? Are there any specific log files I could provide to help pinpoint the problem?
Thanks
ThomasHello Thomas,
"I have validated the checksum of the ISO" Do you mean you have used this page
http://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs.aspx# to verify your ISO?
Please send your full logs to me by use http://aka.ms/vscollect . After using it, you will find vslogs.cab from %temp% folder. Please upload the file to
https://skydrive.live.com/
and share the link here.
Actually you can refer to the following page to troubleshoot Windows SDK issue:
http://msdn.microsoft.com/en-us/library/ee248512(v=vs.100).aspx
The recommend way is to manually install Windows SDK itself and check the logs in detail.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Development Kit with Cryptography Extensions
hi
can i know where to download Development Kit with Cryptography Extensions for JC 2.2.1?
thankshttp://java.sun.com/javacard/downloads/index.jsp
jc 2.2.1 supports Cryptography Extensions, but with some limitations (see manuals). -
Can i develop android game with mac?
Dear sir,
can i develop android game with mac? if i can then tell me the software name for doing this.I'm sure you can, you will just need to figure out what software you need to download, then download the Mac version if it exists.
naeem.011 wrote:
ok, can i make computer game with macbook pro?
If you are asking about games for the Mac Computer, you will find the answers at https://developer.apple.com -
Will weblogic 4.5 work with the Sun Java Servlet Development Kit Version 2.1?
Will weblogic 4.5 work with the Sun Java Servlet Development Kit Version 2.1
(JSDK 2.1). The reason I want this is we want our application servlets to
use the new 2.1 redirection mechanism to redirect to JSP files.
WL 4.5 supports JSP 1.0 (and, therefore Servlet 2.1).
What I want to know is when will it support JSP 1.1 (and, therefore Servlet
2.2)!
Regards,
Murali Krishna Devarakonda
Cox News <[email protected]> wrote in message
news:7rk40p$s00$[email protected]..
>
> Will weblogic 4.5 work with the Sun Java Servlet Development Kit Version
2.1
> (JSDK 2.1). The reason I want this is we want our application servlets to
> use the new 2.1 redirection mechanism to redirect to JSP files.
>
>
>
>
-
Attn: Installing the Sample Applications from the ifs Development Kit
There are a number of problems with the sample Applications included in the
Developer's kit. These need to manually fixed in order to get the demos to work.
#1: Solaris Only
The install of the iFS Development Kit, replaces the existing adk.jar with a new
one containing some additional classes. Unfortunately the install process does not
set the correct privileges on the new version of adk.jar. Please ensure that the
file $ORACLE_HOME/ifs/lib/adk.jar is world readable.
Bug # 1304730
This issue will be resolved on the next drop of the Oracle Internet File System
development kit.
#2: Generic
There is a problem with the way in which the login.jsp establishes a connection to
the repository. The current code makes incorrect assumptions about the name of the
iFS Service and the schema password.
The following changes are required.
In order to connect to the repository 4 pieces of information are required.
1. The iFS User Name
2. The iFS User's password
3. The properties file to be used
4. The database password of the user who owns the iFS Schema
The Login.jsp needs to be altered so that it requests these four arguments before
attempting to establish a connection to the repository.
(The current version only requests username and password).
All four arguments need to be provided as arguments to the login method on the
underlying JavaBean that the JSP invokes when it want to open a connection
to the repository.
***************** HERE IS THE REVISED CODE FOR INSURANCE APPLICATIONS ************
********************************** LOGIN.JSP *************************************
<%@ page import = "ifsdevkit.sampleapps.insurance.InsuranceLogin" %>
<%@ page import = "oracle.ifs.adk.security.IfsHttpLogin" %>
<html><head>
<jsp:useBean id="inslogin" scope="session" class="ifsdevkit.sampleapps.insurance.InsuranceLogin" />
<jsp:setProperty name="inslogin" property="*"/>
<%
String REDIRECT_PATH = "/public/examples/insuranceApp/claims";
boolean loggedIn = false;
if (inslogin.getSession() != null && inslogin.getResolver() != null)
// Use existing insurance login
loggedIn = true;
else
// No existing insurance login
IfsHttpLogin login = (IfsHttpLogin) request.getSession(true).getValue("IfsHttpLogin");
if (login != null && login.getSession() != null && login.getResolver() != null)
// Use existing IfsHttpLogin login
inslogin.init(login.getSession(), login.getResolver());
loggedIn = true;
if (!loggedIn)
String username = request.getParameter("username");
String password = request.getParameter("password");
String serviceName = request.getParameter("serviceName");
String schemaPassword = request.getParameter("schemaPassword");
if (username != null && password != null &&
!username.trim().equals("") && !password.trim().equals(""))
// Login using username/password
try
if (serviceName == null | | serviceName.trim().equals(""))
serviceName = "IfsDefault";
inslogin.init(username, password, serviceName, schemaPassword);
request.getSession(true).putValue("IfsHttpLogin", inslogin);
loggedIn = true;
catch (Exception e)
%>
<SCRIPT LANGUAGE="JavaScript1.2">
alert("The username or Password was not valid, please try again.");
</SCRIPT>
<%
if (loggedIn)
// Redirect to the directory where the claim files reside
response.sendRedirect(REDIRECT_PATH);
else
%>
<title>Insurance Demo App Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form METHOD=POST NAME="loginform" ACTION="login.jsp">
<table>
<tr>
<td><b>Username:</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" value=""></td>
& lt;/tr>
<tr>
<td><b>Service Name:</b></td>
<td><input type="text" name="serviceName" value="IfsDefault"></td>
</tr>
<tr>
<td><b>Schema Password:</b></td>
<td><input type="password" name="schemaPassword" value=""></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<input type="submit" value="Log in">
</td>
<td>
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>
<% } %>
*************************** END INSURANCE LOGIN.JSP ******************************
This code has been changed so that it requests the four agruments that are required
to connect to the repository and passes them to the login method on the underlying
bean. Note that we have provided the complete source code to this file in order to
make it simple to deploy the revised version of the code. Simply cut and paste this
code into a new file called login.jsp. Copy the File into the iFS
repository folder /ifs/jsp-bin/ifsdevkit/sampleapps/insurance.
****************************** INSURANCELOGIN.JAVA *******************************
package ifsdevkit.sampleapps.insurance;
* Copyright (c) 2000 Oracle Corporation. All rights reserved.
import java.util.Locale;
import javax.servlet.http.HttpSessionBindingEvent;
import oracle.ifs.beans.DirectoryUser;
import oracle.ifs.beans.FolderPathResolver;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.adk.security.IfsHttpLogin;
* The login bean for the Insurance demo app.
* <p>
* This class provide the login info. The class implements the
* <code>IfsHttpLogin</code> interface so it can share login data with other
* login beans.
* @author Edward Yu
* @version 1.0
* @see IfsHttpLogin
public class InsuranceLogin implements IfsHttpLogin
* The <code>LibrarySession</code>.
private LibrarySession m_session;
* The <code>FolderPathResolver</code>.
private FolderPathResolver m_resolver;
* Default constructor required by the jsp spec for the USEBEAN tag
* @exception IfsException
public InsuranceLogin()
throws IfsException
* Make a connection to iFS
* @param username The username to be used for login.
* @param password The password to be used for login.
* @param serviceName The service name to be used for login.
* @param schemaPassword The schema password to be used for login.
* @exception IfsException if operation failed.
public void init(String username, String password, String serviceName,
String schemaPassword)
throws IfsException
LibraryService service = new LibraryService();
CleartextCredential me = new CleartextCredential(username, password);
ConnectOptions connection = new ConnectOptions();
connection.setLocale(Locale.getDefault());
connection.setServiceName(serviceName);
connection.setServicePassword(schemaPassword);
m_session = service.connect(me, connection);
m_resolver = new FolderPathResolver(m_session);
m_resolver.setRootFolder();
DirectoryUser user = m_session.getDirectoryUser();
if (user.isAdminEnabled())
m_session.setAdministrationMode(true);
* Initialize the login bean.
* <p>
* The default constructor does not set the necessary fields so it needs
* to be set instantiation.
* @param session The <code>LibrarySession</code> object.
* @param resolver The <code>FolderPathResolver</code> object.
public void init(LibrarySession session, FolderPathResolver resolver)
m_session = session;
m_resolver = resolver;
* Return the login's session object.
* @return The <code>LibrarySession</code> object.
public LibrarySession getSession()
return m_session;
* Return the login's path resolver.
* @return The <code>FolderPathResolver</code> object.
public FolderPathResolver getResolver()
return m_resolver;
* Called when this object is bound to the HTTP session object.
* @param event The event when the object is bound to the Http session.
public void valueBound(HttpSessionBindingEvent event)
// do nothing
* Called when this object is unbound from the HTTP session object.
* @param event The event when the object is unbound to the Http session.
public void valueUnbound(HttpSessionBindingEvent event)
m_resolver = null;
try
if (m_session != null)
m_session.disconnect();
catch (IfsException e)
e.printStackTrace();
finally
m_session = null; // release the resources
*****************************END INSURANCELOGIN.JAVA ******************************
This code has been changed so that it accepts the four agruments that are required
to connect to the repository and uses them to connect to the repository. Note that
we have provided the complete source code to this file in order to make it simple
to deploy the revised version of the code. Simply cut and paste this
code into a new file called. Save the file on the native file system
in a file called InsuranceLogin.java in the directory
$ORACLE_HOME/ifs/ifsdevkit/sampleapps/insurance/
*************** HERE IS THE REVISED CODE FOR WEB COMMAND APPLICATIONS ************
********************************** LOGIN.JSP *************************************
<%@ page import = "ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Patricia Li">
<title>Login</title>
</head>
<jsp:useBean id="wclogin" scope="session" class="ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" />
<jsp:setProperty name="wclogin" property="*"/>
<%
String REDIRECT_PATH = "/ifs/ifsdevkit/sampleapps/WebCommandApp/html/main.html";
boolean loggedIn = false;
if (wclogin.getSession() != null)
// Use existing WebCommand login
loggedIn = true;
else
String username = request.getParameter("username");
String password = request.getParameter("password");
String serviceName = request.getParameter("serviceName" );
String schemaPassword = request.getParameter("schemaPassword");
if (username != null && password != null)
// Login to iFS
try
wclogin.init(username, password, serviceName, schemaPassword);
request.getSession(true).putValue("IfsHttpLogin", wclogin);
loggedIn = true;
catch (Exception e)
%>
<SCRIPT LANGUAGE="JavaScript1.2">
alert("The credentials are not valid; please try again.");
</SCRIPT>
<%
if (loggedIn == true)
// Go to main page...
response.sendRedirect(REDIRECT_PATH);
else
%>
<title>Web Command App Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<h2>WebCommand Application Login</h2>
<form METHOD=POST NAME="loginform" ACTION="login.jsp">
<table>
<tr>
<td><b>Username:</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" value=""></td>
</tr>
<tr>
<td><b>Service Name:</b></td>
<td><input type="text" name="serviceName" value="IfsDefault"></td>
</tr>
<tr>
<td><b>Schema Password:</b></td>
<td& gt;<input type="password" name="schemaPassword" value=""></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<input type="submit" value="Log in">
</td>
<td>
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>
<% } %>
************************* END WEB COMMAND LOGIN.JSP ******************************
This code has been changed so that it requests the four agruments that are required
to connect to the repository and passes them to the login method on the underlying
bean. Note that we have provided the complete source code to this file in order to
make it simple to deploy the revised version of the code. Simply cut and paste this
code into a new file called login.jsp. Copy the File into the iFS repository folder
/ifs/jsp-bin/ifsdevkit/sampleapps/WebCommandApp
****************************WEBCOMMANDLOGIN.JAVA**********************************
package ifsdevkit.sampleapps.webcommandapp;
import java.util.Locale;
import oracle.ifs.beans.DirectoryUser;
import oracle.ifs.beans.FolderPathResolver;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.adk.filesystem.IfsFileSystem;
import oracle.ifs.adk.security.IfsHttpLogin;
import javax.servlet.http.HttpSessionBindingEvent;
* WebCommand application that illustrates the usage of the
* File System API.
* @version 1.0
* @pub
public class WebCommandLogin implements IfsHttpLogin
private LibrarySession m_session; // Session
private FolderPathResolver m_resolver; // Resolver
private IfsFileSystem m_ifs; // File System object
* Default constructor required by the jsp spec for the USEBEAN tag
public WebCommandLogin()
throws IfsException
* Make a connection to iFS
* @pub
public void init(String username, String password, String serviceName,
String schemaPassword)
throws IfsException
LibraryService service = new LibraryService();
CleartextCredential cred = new CleartextCredential(username, password);
ConnectOptions options = new ConnectOptions();
options.setLocale(Locale.getDefault());
options.setServiceName(serviceName);
options.setServicePassword(schemaPassword);
m_session = service.connect(cred, options);
m_resolver = new FolderPathResolver(m_session);
m_resolver.setRootFolder();
m_ifs = new IfsFileSystem(m_session);
DirectoryUser user = (DirectoryUser) m_session.getDirectoryUser();
if (user.isAdminEnabled())
m_session.setAdministrationMode(true);
* Use the existing connection.
* The default constructor does not set the necessary fields.
* @pub
public void init(LibrarySession session, FolderPathResolver resolver)
throws IfsException
m_session = session;
m_resolver = resolver;
m_ifs = new IfsFileSystem(m_session);
* Return the login's session
* @pub
public LibrarySession getSession()
return m_session;
* Return the login's path resolver
* @pub
public FolderPathResolver getResolver()
return m_resolver;
* Return the IfsFileSystem API object
* @pub
public IfsFileSystem getIfsFileSystem()
return m_ifs;
* Implementation of valueBound
* @pub
public void valueBound(HttpSessionBindingEvent e)
* Implementation of valueUnbound
* @pub
public void valueUnbound(HttpSessionBindingEvent e)
try
m_session.disconnect();
catch (IfsException ie)
************************* END WEBCOMMANDLOGIN.JAVA *******************************
This code has been changed so that it accepts the four agruments that are required
to connect to the repository and uses them to connect to the repository. Note that
we have provided the comple te source code to this file in order to make it simple
to deploy the revised version of the code. Simply cut and paste this code into a
new file called WebCommandLogin.java in the directory
$ORACLE_HOME/ifs/ifsdevkit/sampleapps/webcommandapp/
Compile the java class.
Copy the classfile to $ORACLE_HOME/ifs/custom_classes/ifsdevkit/sampleapps/webcommandapp/
Stop and Start all of the protocol servers.
This issue will be resolved on the next drop of the Oracle Internet File System
development kit.
#3. Making the BaseRendererClass available to the Protocol Servers
Note this step is not required if you have the 1.0.8.3 patch set installed.
Install the BaseRenderer Class. The BaseRenderer class is delivered in the jar file
ifsdevkit.jar and can be used to simplify the task of creating a custom renderer.
Unfortunately the jar file containing this class is not referenced in any of the Classpaths
used by the iFS protocol servers. This means that they will not be able to load any
customer renderers that extend BaseRenderer. In order to make BaseRenderer available
to the Protocol Servers it need to be placed in the appropriate directory under
<ORACLE_HOME>/ifs/custom_classes.
Extract the class from the ifsdevkit.jar.
ifsdevkit.jar is located in <ORACLE_HOME>/ifs/lib after the devkit has been installed.
jar -xvf ifsdevkit.jar
extracted: META-INF/MANIFEST.MF
extracted: BaseRenderer.class
Create the following directory heirachy in <ORACLE_HOME>/ifs/custom classes
oracle/ifs/server/renderers
Copy <ORACLE_HOME>/ifs/lib/BaseRenderer.class to
<ORACLE_HOME/ifs/custom_classes/oracle/ifs/server/renderers
That should do it.
Regards
Mark D. Drake
nullMoving to Top
Maybe you are looking for
-
Ipod 4th Generation - Won't turn on or charge - Reset didn't work
No charging, no turning on, no recognition by my iTunes for my 4th Gen iPod Touch. It is only about 6 months old. I tried the holding home and sleep buttons for 10 or more seconds but that did not work. Any other option besides going to the Apple
-
Problem for Installing New License Key
Hello All, I have installed the Sneek Preview of SAP Netweaver 7.1. I have got the New Licence Key for 3 months everything in my mailbox. And I have opened the transaction SLICENSE. But when I click the button Install New License, it is asking the fi
-
IPhone 4S won't connect to wifi E2500
When I try to connect new iPhone 4S, it goes to the page for all the info (IP address, etc.) instead of just asking for the password input. I've tried disconnecting router and restarting, plugging iPhone into iMac laptop, etc. (PC is hardwired into s
-
How to clean Mac after Photoshop Install?
Hello. A couple days ago I am download and install Adobe Photoshop CS6 Trial and It's great. But I have a question - because I need only Photoshop, how I can delete all other Adobe apps that a don't need (Like Bridge, Extension Manager, etc.). Please
-
Convert JPA Query getResultList to Array
I have been struggling with this problem for several hours now. All I have succeeded in doing is attempt every possible way to convert a List into an array and I just get errors. // create native SQL query Query q = em.createNativeQuery("SE