Enable AppXRay on a legacy project with unconventional directory structure
I've got a legacy project. My first need is to do remote debugging of JSPs (application will be deployed on an app. server on a remote server).
I imported the existing project into Eclipse/Workshop Studio. When I try to enable AppXRay it popups a Folder Mappings dialog and asks for a folder in the project that corresponds to the '/' URI.
Here's what my directory structure looks like:
project/
--conf/
----web.xml
--htdocs/
----index.jsp
There is no WEB-INF/web.xml in the directory structure. The .war gets built by the Ant war command and just includes the web.xml from the conf/ dir.
If I choose the conf/ dir or the htdocs/ dir I get a warning that information related to web.xml will be missing fron AppXRay.
How do I get Workshop Studio to work in this situation?
As part of the Ant build I can add directories to the existing structure that mimic the structure of the .war that gets deployed if that will make Workshop Studio happy, but I cannot modify the existing directory structure significantly.
Thanks.
Dean
The WFM feature was implemented to support the project structure similar to yours.
Try the following steps to configure the project in Studio:
- The folder mapping for your project would be
project/htdocs => "/"
project/conf => "/WEB-INF"The "/" mapping will be your WebAppFolder (the folder containing web artifacts, like jsps, html...) and "/WEB-INF" would be the web configuration (containing web.xml and/or struts/jsf ... configuration filer).
Similar Messages
-
How duplicate ora11 on windows to another host with different directory structure
Hi,
I need help.
I want to duplicate db (11.2) running on windows from server A to Server B
Directory structures on server A and Server B are different;
my steps
on server A
1.backup database plus archivelog delete input;
2.insert into table t values(1);
3.commit;
4.backup archive log all;
On Server B
5.copy backup and archive logs from server A to server B (c:\backup\temp)
6.create folders C:\oracle\oradata\bamboo
7.oradim –new –sid bamboo -- (verified service is running)
8. created pfile.ora with param (db_name=bamboo)
9.SET oracle_SID=bamboo
10.sqlplus /as sysdba
11.startup nomount pfile='(c:\backup\temp\pfile.ora'
12.C:\oracle\product\11.2.0\db_1\database>rman auxiliary /
result
..connected to auxiliary database: SBDBT02W (DBID=186082786, not open) --could it be the fact that I tried to execute code bellow?
My understanding at this point I should be connected to 'bamboo' -- my new database, what steps did I miss?
I expect
..connected to auxiliary database: bamboo ( not mounted)
bellow is code that I was going to run on Server B
RUN
SET NEWNAME FOR DATAFILE 1 TO 'C:\oracle\oradata\bamboo\SYSTEM01.DBF';
SET NEWNAME FOR DATAFILE 2 TO 'C:\oracle\oradata\bamboo\SYSAUX01.DBF';
SET NEWNAME FOR DATAFILE 3 TO 'C:\oracle\oradata\bamboo\UNDOTBS01.DBF';
SET NEWNAME FOR DATAFILE 4 TO 'C:\oracle\oradata\bamboo\USERS01.DBF';
SET NEWNAME FOR DATAFILE 5 TO 'C:\oracle\oradata\bamboo\EXAMPLE01.DBF';
DUPLICATE DATABASE TO bamboo
UNTIL TIME "TO_DATE('11/24/2013 13:18:02', 'MM/DD/YYYY HH24:MI:SS')"
BACKUP LOCATION 'C:\backup\temp'
NOFILENAMECHECK;
when I executed it on Server B ,I got following error
Starting Duplicate Db at 25-NOV-13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/25/2013 11:27:36
RMAN-05500: the auxiliary database must be not mounted when issuing a DUPLICATE
command
I looking for steps by step instruction for duplicating db to another windows host with different directory structure.
Thank you
AlexThe topic, "Duplicating a Database on a Remote Host with a Different Directory Structure" can be found at http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006672
This information should provide you the step by step process to follow including when on Windows.
HTH -- Mark D Powell -- -
Standby database with different directory structure
Hi,
sorry to say that we are in desupported version due to some constraint.
oracle version : 8.1.7.0.0.
os:sun 5.9
I need to create physical standby database with different directory structure:
i have created standby database with same directory structure of primary, now i have requirement to create with different directory structure.
in oracle 8i we can not give multiple parameter for db_file_name_convert(ORA-01678: parameter db_file_name_convert must be two strings, a pattern and a replacement) and i do have partitions in primary as follows:
bash-2.05$ df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 14G 5.6G 72% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 11G 40K 11G 1% /var/run
dmpfs 11G 0K 11G 0% /dev/vx/dmp
dmpfs 11G 0K 11G 0% /dev/vx/rdmp
swap 11G 656K 11G 1% /tmp
/dev/dsk/c1t0d0s3 25G 18G 6.8G 72% /oracle
/dev/vx/dsk/suportaldg/oracle1
12G 11G 1.1G 91% /oracle1
/dev/vx/dsk/suportaldg/oracle2
12G 8.1G 3.7G 69% /oracle2
/dev/vx/dsk/suportaldg/orapurge
200G 182G 17G 92% /orapurge
/dev/vx/dsk/suportaldg/oracle3
12G 10G 1.9G 85% /oracle3
/dev/vx/dsk/suportaldg/oracle4
12G 12G 58M 100% /oracle4
/dev/vx/dsk/suportaldg/oracle5
7.0G 5.9G 1.0G 86% /oracle5
/dev/vx/dsk/suportaldg/oracle6
7.0G 6.4G 564M 93% /oracle6
/dev/vx/dsk/suportaldg/oracle7
23G 23G 358M 99% /oracle7
/dev/vx/dsk/suportaldg/oracle8
13G 13G 165M 99% /oracle8
/dev/vx/dsk/suportaldg/oracle9
23G 22G 1.4G 94% /oracle9
/dev/vx/dsk/suportaldg/oracle10
12G 10.0G 1.9G 85% /oracle10
/dev/vx/dsk/suportaldg/oracle11
39G 36G 2.1G 95% /oracle11
/dev/vx/dsk/suportaldg/oracle12
39G 38G 1.1G 98% /oracle12
/dev/vx/dsk/suportaldg/oracle13
68G 65G 2.6G 97% /oracle13
/dev/vx/dsk/suportaldg/oracle14
200G 199G 1.3G 100% /oracle14
/dev/vx/dsk/suportaldg/oracle15
200G 196G 3.6G 99% /oracle15
/dev/vx/dsk/suportaldg/oracle16
70G 64G 5.5G 93% /oracle16
/dev/vx/dsk/suportaldg/oracle20
7.0G 6.4G 609M 92% /oracle20
/dev/vx/dsk/suportaldg/oracle50
28G 26G 2.0G 93% /oracle50
/dev/vx/dsk/suportaldg/oratranslog
185G 165G 19G 90% /oratranslogso how i can create standby database with different directory structure, help is appreciated.
Thanks
Edited by: prakashdba on Mar 5, 2009 11:04 PMLooks like very difficult and inform you mgmt about the drawbacks of running olderv ersions
may be you can try something like this but i dont know whether it is supported or not
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle3','/dev/vx/dsk/suportaldg/STDBY/oracle3']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle4','/dev/vx/dsk/suportaldg/STDBY/oracle4']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle5','/dev/vx/dsk/suportaldg/STDBY/oracle5'] -
Using wlappc with split directory structure
I am trying to generate an EAR file of my application using wlappc in WLS8.1sp3.
I am using the split directory structure, I have a src directory containing my
source and xml descriptors, and a output directory containing the compiled classes.
I am using the split structure to deploy to the app server in development, that
is working fine. I use wlcompile to compile the code, that works ok too.
I assume that the purpose of wlappc would be to take a split directory structure
and create an EAR file from it, but there is only one source directory that you
can pass to the ant task. If I pass the src directory, it complains that it cannot
find the classes. If I use the output directory, it complains that it cannot
find the META-INF directory.
Am I missing a step? Do I have to use wlpackage to put everything in one directory,
then wlappc? Do I have to copy the class files or xml files manually first?Jason Kriese wrote:
I am trying to generate an EAR file of my application using wlappc in WLS8.1sp3.
I am using the split directory structure, I have a src directory containing my
source and xml descriptors, and a output directory containing the compiled classes.
I am using the split structure to deploy to the app server in development, that
is working fine. I use wlcompile to compile the code, that works ok too.Great.
>
I assume that the purpose of wlappc would be to take a split directory structure
and create an EAR file from it, No, wlappc does J2EE code-generation and validation. For instance, it
will do hundreds of checks against your EJBs to make sure they comply
with the spec. It will compile your JSP files into servlets etc. You
just need to pass wlappc the output directory. It will automatically
find the src directory.
When you're ready to deploy to a production or staging server, you can
use wlpackage to put everything into one directory or an archived EAR file.
-- Rob
but there is only one source directory that you
can pass to the ant task. If I pass the src directory, it complains that it cannot
find the classes. If I use the output directory, it complains that it cannot
find the META-INF directory.
Am I missing a step? Do I have to use wlpackage to put everything in one directory,
then wlappc? Do I have to copy the class files or xml files manually first? -
Restoring Rman backup on New Host with different directory structure
Hi,
I have a following scenario to clone the database.
1. clone the database on new server
2. source is non - ASM and target is ASM
3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
I did the following steps and getting below error:
1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
*.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
*.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
script i am using is :
RMAN> run {
2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
3> allocate channel c1 device type disk;
4> allocate channel c2 device type disk;
5> allocate channel c3 device type disk;
6> allocate channel c4 device type disk;
7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
81> restore database;
82> switch datafile all;
83> recover database;
84> alter database open resetlogs;
85>
86> release channel c1;
87> release channel c2;
88> release channel c3;
89> release channel c4;
90> }
Getting the following error, copied lines from the error i am getting.
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 27-DEC-10
released channel: c1
released channel: c2
released channel: c3
released channel: c4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/27/2010 08:09:08
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 74
RMAN-06100: no channel to restore a backup or copy of datafile 73
Please advice...
Thanks,
Tanveer MohammedIf you would like, please refer the link:-
http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/ -
Compiling files with nested directory structure
I'm getting "resolve symbol" errors when I try to compile source files which
are in the child directory whose dependent on files from it's parent
directory. Here's my current directory structure:
src
-->a
---->b
------>util
What I'm trying to do is compile files which are in the 'util' directory.
Some of these files use some of the classes in the 'b' directory. My
compile statement is the following:
java -d class -classpath src src\a\b\util\aFile.java
Files in the 'util' directory has a import a.b.* statement on top, but I
don't think that's the problem, let alone necessary.
Any assistance would be appreciated.Files in the 'util' directory has a import a.b.*
statement on top, but I
don't think that's the problem, let alone necessary.You must import classes that you use if the classes are not in the same package. The classes in src\a\b should have a package statement as the first line of source code and I am guessing it should be "package a.b;" Likewise, the classes in src\a\b\util should have a "package a.b.util" line. It's hard to guess what you have in mind. If you have the package statements, then the classes in a.b.util can import a.b.whatever. This will work. -
No Folders for Folder Mappings when enabling AppXRay
When I enable AppXRay on an existing project it asks me to Specify Folder Mappings. The Add button brings up the New Folder Mapping dialog. The Folder field is disabled and when I click Browse the Choose Folder dialog says "No Entries Available".
This project is a "sub-project" inside of a larger projects composed of several Eclispe projects. Could this be causing Folder Mapping to show no folders available?The problem was that the project I was trying to enable AppXRay on is a sub-project of another project in the workspace. When I opened the containing project then the Choose Folder dialog shows folders from that project. Adding them doesn't satisfy AppXRay because it knows that they are from another project.
I found two ways to deal with this:
Check out the subproject on its own instead of importing it from the containing project. This means that I have two copies of the sub-project, which isn't ideal.
A better way is to delete the containing project from the workspace, leaving the files intact. Then I can import the sub-project I'm interested in. I can manage the containing project using Europa from a different workspace.
So I've got two versions of Eclipse using two different workspaces. One manages the whole project. Workshop only deals with the sub-project, so there is the potential for a conflict. In reality this shoudn't happen since I rarely deal with the containing project.
I'm wondering, though. Is this inability to do Folder Mapping for AppXRay on a subproject of another project in the same workspace something that was done by design or is this inadvertent? -
"00004.MTS" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media.
when i try log transfer from a sony nex-vg10 but my buddy can do it with no problem on my cam an macIf you copy the recordings from AVCHD cameras, you must copy the entire storage device with its directory structure intact.
I have even tried copying BACK files onto the camera and they do not show up in the transfer window under the last clip.
There is no information for those clips in the AVCHD storage device's directory index files. That means there is no way for the computer to find them.
Your last resort is most likely [ClipWrap|http://www.divergentmedia.com/clipwrap] now, unless you can get the storage device exactly back into the state it is supposed to be according to the index file. -
When I publish projects with AICC reporting enabled the SWF "breaks" and does not load.
When I publish projects with AICC reporting enabled the SWF "breaks" and does not load. If I change the publish method to SCORM the SWF works, and if I turn off reporting the SWF also works.
OK. That makes sense now. Captivate 6 changed over to Rustici's LMS drivers. Cp7 must have made even further changes that mean you must have an LMS present if you turn on reporting.
I would suggest you just turn off reporting while you are testing other aspects of the course functionality during development, and only turn on reporting when you are ready to upload to your LMS. -
Not able to create a web project with jsf or jsp or struts or spring
Hi,
I am trying to create a dynamic web project with jsf or jstl or struts or spring or any of web options available for a web project, but I am not able to do it.
When I choose any of these options, the wizard asks me to "select an existing jstl/jsf/Spring 2.0 library, or click Add to add a new library." and since it doesn't show any existing libraries there, I clicked on add new library. When I click add, it opens a new dialog box where it has two options :
1. to use spring/jstl/jsf lib from bea web site - when I choose this option, it tries to connect to the bea web site and gives me error that "connect time out". I don't know why it is not able to connect to the internet. I am not able to see the help also. There it gives error "The requested URL could not be retrieved".
2. to use libraries from an existing spring installation - I provide the path of a directory where spring lib are, but then it gives me error that this is not a valid installation.
On another machine, I am able to see the help contents, but still not able to get these libraries from the bea site.
Please help.
Thanks in advance,
SushmaHi Sushma,
The issue you are facing has been addressed and will be part of the next release. For the current release, please follow the steps listed below.
Send an email to [email protected] with details on specific facets you are trying to enable on your project.
You will be provided with a url where you can download the required jars and details on how to manually add the jars to the workspace which will prevent the download on demand scenario.
Cheers
Raj -
SCA project with webservices binding is failing in WLS 12.1.2.0
While I am able to successfully deploy a SCA project with an EJB binding in it, application is failing (deploying ok, but not recognized as an SCA app) if I include a webservices binding in it. Apparently SCAContainer is failing to locate a class file. I searched across entire weblogic installation for the missing class file, and could not locate the class in any of the jars under MW_HOME.
And in the weblogic sca console extension, I see the following message:
This is not a WebLogic SCA application or WebLogic SCA integration is not enabled.
<Aug 25, 2013 8:40:00 AM EDT> <Warning> <HTTP> <BEA-101162> <User defined listener weblogic.sca.container.WlsScaContextListener failed: java.lang.NoClassDefFoundError: Lweblogic/wsee/databinding/WsRuntime;.java.lang.NoClassDefFoundError: Lweblogic/wsee/databinding/WsRuntime;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2387)
at java.lang.Class.getDeclaredFields(Class.java:1796)
at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getDeclaredFields(PrivilegedAccessHelper.java:253)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Truncated. see log file for complete stacktraceAlso, i just deployed the SCA shopping cart example included with WLS, and it also failed with the same weblogic.wsee.databinding.WsRuntime class not found error! Issues with my installation or problem with 12.1.2.0?
-
Trouble importing VC++ 6.0 project with old ATL
hi there, im trying to import an older visual c++ 6.0 project to VS2013. this old project was built linked to Wavelink and IBM WebSphere software(MQ) and MFC. converting the project over was pretty straightforward.
however when trying to compile it, i get some errors, starting with pointing to ATL library it seems. many of the first errors im seeing are similar to:
error C2039: 'CreateFile' : is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atltransactionmanager.h
396 1
Project1
error C2039: 'DeleteFile' : is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atltransactionmanager.h
427 1
Project1
error C2039: 'GetFileAttributesEx' : is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atltransactionmanager.h
499 1
Project1
error C2065: 'WIN32_FILE_ATTRIBUTE_DATA' : undeclared identifier
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atltransactionmanager.h
507 1
Project1
etc...
i dont believe the project itself links to ATL so im thinking its being referenced in either MFC, Wavelink or WebSphere.
since this file is not mine, i dont think making changes to it is the right way to fix the errors. should i be using some SDK or linking to the old MFC/ATL stuff instead? or are there newer conventions that need to be updated in this old project?The Net Library has changed significantly from VS 6.0 to present. When Microsoft upgraded from VS 6.0 to the next version VS 2008 they combined their C++, C#, and VBnet libraries into a single Net 3.0 library. As part of the
combining the methods to use common methods many library functions were modified. Upgrading from VS 2008 to VS 2012 is usually pretty easy, but going from VS 6.0 is harder. There are many converts that were generated to modify from VS 6.0 to VS2008
but none are perfect.
The errors you are getting is due to old methods in VS 6.0 not being supported in the combined Net library."
yea, this is an old legacy project and the vendor wants to do a full upgrade on all their stuff including the dev platforms. is there an easy way to trace back the linking of the ATL through visual studio? if i can find what is calling this stuff maybe i
can switch out the reference to the updated versions to see if it fares better -
Is there a way of working collaboratively on a flex project with a small project group?
Is there a way of working collaboratively on a flex project with a small project group?
I am part of a small group of developers who wish to work on a single flex project together. Is there a way to set up flex so that the project can be developed by multiple people at the same time. I have seen one thread out on the internet about working locally and then uploading to SVn but this is not an option in this case.
Any ideas.
Many thanks in advance
DaveI would say that rushing into development without a source-control system will cost you more in the long-run. If your organisation is serious about developing software it then it needs to invest in the necesary infrastructure, so you should get that process kicked-off as soon as possible.
In the interim you could set-up a source control server on one developer's machine or commandeer a spare machine to use as a temporary source control server. Just make sure you have it backed-up regularly. Or you could use one of the online source control services; many will support private repositories for a small fee. -
Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?
Thanks!
-Adrianthe old apps are on my computer but they have had upgrades since they were put on the ipod originally. you think you would get a warning about this when you restored. I was not worried about losing the progress of the apps but i would have been worried about the app it self!!!!!
-
When sharing my 60 minutes iMovie project with iDVD inmediately message 'The project could not be prepared for publishing because an error occurred (Error in user parameter list)' appears. Could not find the user parameter list, so I've no more info about this error.
Option File - Finalize Project gives inmediately the same errormessage.
Also option Share - Media Browser - Large/Medium/Mobile give the same errormessage.
Please advise, thank you!Additional info: trying to write to internal disk (268 GB Free out of 499 GB)
Please advise, alko80
Maybe you are looking for
-
HT1766 iphone 3gs could not activate after trying to update to new version
in the middle of updating, the itune shows that the iphone was not installed, but it is. Have try numbers of time but still the same, anyone can help me on that??
-
Can't open Excel file with my Imac
Can someone help me with this one. I keep getting excel files from work but I have an Imac at home and unable to open and make changes
-
KSFETCH- causing massive slowdown on MDD 10.5x - how to disable
GOOGLE IS PLAYING THE SLIME MASTER ROLE Below are several examples of how to disable this bull roar from taking precious system resources. EVEN ON OLDER MACS - (I used MDD running 10.5x) This started happening to me probably around May or June. My co
-
Charts and Language problem...
Hi Everyone, I have the following problem. I am trying in a COLUMNS_STACKED_3D Chart (or whatever the chart is) name of company and amounts. If I write the name of the campanies in english, everything works fine. But if I write the name in hebreu, I
-
Configuring Search Server Import Agent
Our customer is using PS7 with multiple search server instances - each crawling different resource. We want to import the searched databases to one search server instance and so far have not had much luck configuring the import agents correctly. The