Design question: When to use instance variables
Looking for best practice/design advise.
I am working my way through an exercise where I convert a zip code to a postal barcode (and back), validate the format, and validate/generate a check digit. My code works fine. I posted comments and methods below for reference. In addition to the book I am using, I also read http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html.
My question is: In designing this class, should I have defined instance variables to hold the generated zipcode, barcode, and checkdigit and then used getter methods to get the zipcode or barcode?
I planned on creating a user interface to ask for a zipcode or barcode and present a conversion to the user. The only methods that need to be called are "convertBarcodeToZipcode" and "convertZipcodeToBarcode". All the other methods are utility methods. The strings that are returned by these two methods are presented to the user.
I could, easily enough, create and populate instance variables, but would I keep the return statements as well or remove them?
Thanks, Mike
ps: I am self-learning java, so I don't have an instructor to ask. :)
public class PostalBarCode {
* Constructor.
* Set up the barcode ArrayList
public PostalBarCode() {
barcodeUnits.add("||:::");
barcodeUnits.add(":::||");
barcodeUnits.add("::|:|");
barcodeUnits.add("::||:");
barcodeUnits.add(":|::|");
barcodeUnits.add(":|:|:");
barcodeUnits.add(":||::");
barcodeUnits.add("|:::|");
barcodeUnits.add("|::|:");
barcodeUnits.add("|:|::");
* Convert a barcode to a zipcode.
* Assumes the input format is valid. Validates the check digit
* @param theBarcode string to be converted
* @return the zipcode as a String of empty string for error
public String convertBarcodeToZipcode(String theBarcode) {}
* Convert the Zipcode to a barcode
* @param theZipcode string to be converted
* @return the barcode as a string
public String convertZipcodeToBarcode(String theZipcode) {}
* Determines if theString is a barcode
* @param theString
* @return true if the input is a barcode, false otherwise.
public boolean isBarcode (String theString) {}
* Determines of theString is a zip code
* @param theString the string to test for 5 digits
* @return true for a zip code, false otherwise
public boolean isZipcode (String theString) {}
* Convert a barcode to a zipcode.
* Assumes the input format is valid. Validates the check digit
* @param theBarcode string to be converted
* @return the zipcode as a String of empty string for error
public String convertBarcodeToZipcode(String theBarcode) {}
* Convert the Zipcode to a barcode
* @param theZipcode string to be converted
* @return the barcode as a string
public String convertZipcodeToBarcode(String theZipcode) {}
* Calculate the check digit from the zipcode
* @param theZipcode as a String
* @return the the check digit or -1 for error
public int calculateCheckDigitFromZipcode(String theZipcode) {}
* Calculate the check digit from the barcode
* @param theZipcode as a String
* @return the the check digit or -1 for error
public int calculateCheckDigitFromBarcode(String theBarcode) {}
* Validate the format of the barcode.
* Should be 6 blocks of 5 symbols each.
* Also check if frame bars are present and strip them.
* @param theBarcode
* @return true for proper format, false for improper format
public boolean validateBarcodeFormat (String theBarcode){}
private ArrayList<String> barcodeUnits = new ArrayList<String>();
}
These are just my two cents. The various methods that determine whether something is a zip or bar code can easily remain static. After all, you probably don't want to create an instance and then call something like isValid(), although you could do so. The various other methods could easily be instance methods. You could have a toZipCode() or toBarCode() method in each object to convert from one to the other. I would personally throw something like ValidationException rather than returning -1 for your various check-digit methods.
- Saish
Similar Messages
-
Hi,
I am currently evaluating this tool for a specific user group. I had a question in mind :
In a typical workflow which involves database connections (i.e. inserting data in a database and displayign data) do you think we should pass data between various activities and users using instance variables or do you think we should retrieve data from the tables every time for display etcI would suggest get the data from the database first time and then store it in instance variables. Whenever, you need to update any values in the database from a particular activity, make a call to database to update it with the values from instance variables.
For displaying, use instance variables. You do not need to get fresh data from database for each activity, unless you think that data in database keeps changing for that particular records every day.
Regards
Right Chord -
Can i use instance variables in page flow controller with out restriction?
I am using instance variable in pageflow controller.
1) Will it give any problem if concurrent users are accessing that controller class?
2) How many controller objects will be created if multiple users (Say 10 users) accessing same controller class?
Thanks.1) Will it give any problem if concurrent users are accessing that controller class? Pageflows are pere user session, different users wont cause it problems. however a single user can cause problems by using open new tab on a link etc(or back button or refresh on browser, problems with using state in a stateless protocol) . A bigger problem is that since a pageflow is indirect in session, using private variables in pageflow increases your session footprint and in a cluster , if replicated, your network trafiic as well. Using state also causes problem in HTTP , a stateless protocol,. Highly not recommended (unless you have no other choice)
2) How many controller objects will be created if multiple users (Say 10 users) accessing same controller class? 10. assuming the portlet is used once only. If you use the same portlet in multiple pages , then you have that many.
Edited by: deepshet on Feb 27, 2010 12:10 PM -
Hi,
Assuming below setup for Enterprise edition Lync 2013
Single Pool Stretched architecture with 4 FES servers
Site A Data Center
Site B Data Center
FES
2
2
SQL
1 Primary
1 Mirror
Fact: In a situation when we lose network connectivity to Site A DC, and due to less than 50% FES servers, Quorum will be lost and as a result Front End Service will stop after 5 minutes.
The question is, would I be able to do a manual intervention by using this command
Reset-CsPoolRegistrarState –PoolFqdn <pool name fqdn> –ResetType QuorumLossRecovery , and start FES with just 2 FES servers in Site B DC and 1 SQL
Server?
The reason I am asking this question is because it is mentioned in one of the Lync manuals that at least 85% of the servers must be available to recover once the Quorum has lost. The same manual also mentions to use above
mentioned command in order to recover from Quorum Loss despite the fact that the lost FES servers are still not available.
Thanks in AdvanceHi,
In Lync server 2013 Stretched pools are not supported for the Front End, Edge, Mediation, and Director server roles. It need two Lync pools.
If one pool fail to connect, An administrator can declare an emergency and fail over the pool to the backup pool. That is done by using the:
Invoke-CsPoolFailover –PoolFQDN <Pool fqdn> –DisasterMode –Verbose
More details:
http://blog.avtex.com/2012/07/26/understanding-lync-2013-server-failover/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Hi all,
A quick question that i'm sure is very simple but is slightly confusing me. I've just started trying to learn Objective-C and am a little confused by ( ) and [ ].
I get that you use the [ ] brackets when you want something specific from an object, i.e.
[ textField textColor ]
and that you use ( ) brackets for things like:
if ( x == y) {
But I get confused when I see things like:
NSLog(@"some text here");
Why does that get ( ) brackets and why is it not [ ].
Also another point of confusion, creating methods... Why are some methods done like:
- (void)awakeFromNib
And others done like (with the additional "*" added):
- (NSString *)stringvalue
As I said, I'm sure this is very simple and obvious, but it is confusing me slightly.
Thanks in advance!Adam:
As you already know, square brackets are used to send a message to an object, so if a object like myObject implements the method -doSomething, you can call it with:
\[myObject doSomething\];
The other use square for brackets have is to index C-style arrays, such as:
aValue = anArray\[10\]; // Get the 10-element of an array
However, because C-style arrays are rarely used in Cocoa applications (use NSArray instead) you will not see this situation often.
Parenthesis in expressions are used to group and prioritize, such as:
x = 10 * (3 + 5); // x = 80
If () statements use it to delimit the test expression. Same with while (). for () uses it to enclose the limits and increment statements, etc.
The other important use of parenthesis is in calling a C function:
result = foo(3);
means that you are calling the function named foo with the argument 3, and storing the the return value in the variable 'result'. This is different from a message because a C function is not a method of an object. They exist independently of any objects. NSLog() is a function defined within Cocoa but it is not a method. So, you call it with the traditional C function call syntax. Cocoa defines other functions like NSStringFromRect(), which takes an NSRect as argument and returns a pointer to an NSString.
And that leads me to your last question. Some methods return simple types, like int, float, or void (i.e. returns no value). These methods will have prototypes like:
\- \(void\)returnNothing;
\- (int)returnInteger;
Other methods return pointers to types, like:
\- (int \*)returnPointerToInteger;
\- (void \*)returnPointerToAnything; // In obj-C one typically uses id instead of void*
Returning whole objects from methods has problems and it is better to just return a pointer (the address in memory) instead:
\- (NSString *)makeAString;
The method above returns a pointer to an NSString rather than the entire object.
Good luck with your learning,
Juan-Pablo
Message was edited by: Juan Pablo Claude -
Simple Question -- How to use global variables in an another function??!
Function named globalLeftMargin that has:
Global NumberVar LeftMargin := 5;
HOW DO I USE THIS IN ANOTHER FUNCTION? B/C IT DOES NOT RECOGNIZE IT AND GIVES THIS ERROR:
The ) is missing.
The other function is:
Space(LeftMargin)Hi Ajay,
Add WhilePrintingRecords at the beginning of each formula like:
WhilePrintingRecords;
Global NumberVar LeftMargin := 5;
WhilePrintingRecords;
Global NumberVar LeftMargin;
Space(LeftMargin)
Good luck,
Brian -
Design question - when to generalize/specialize? or Issues with a legacy da
We are designing the object model for a new system. But we have a legacy data model which stores both orders and order items in the same table. The relationship (between order and order items) is maintained through a self foreign key to the same table (recursion). We are discussing possible alternatives to this model.
The developers of the old system say that the problem with storing both orders and order items is the complexity of the SQL code (with self-joins) and maintenance over time.
To the legacy model's defense, order and order items do have some common attributes and similar life-cycles (like an order item could be tracked in its separate workflow [as an order would be tracked]).
I agree it would be cleaner to separate the order item into its own table. But I would like to find about general perspective, suggestions on this issue. Which is better? What are the issues to be considered from the perspective of designing the object model? From the performance perspective? From the object/relational mapping perspective?
Note: The database is Oracle and the new solution will be Java/J2EE based.
Thanks.Can order-items contain sub-order items ?
Is it like a tree, in which Order is at the root level and the tree can
have any depth ?
If order-items can contain sub-order items recursively, you will have to
do the self-join SQL anyway ?
There must be some data that is common to all items of an order, such
as shipping date.
I also feel that you will benefit from moving the order item to separate table.
Maybe you can create the new tables and run the SQL and see if there is really
any performance issue. -
Novice Question - When to use WAR files
Sorry I'm so thick, I just don't seem to grasp the concept of how to structure my web pages in tomcat (or any j2ee server I suppose). Any help, as always, is greatly appreciated.
Let's say I want to build a personal website that would have a default homepage and two fairly complex "applications", a photo album and a recipes collection.
Would I build my default page, let's call it index.jsp and then my applications in two sub-directories (say, "photos" and "recipes") and the wrap the whole thing up in a WAR file and upload it to my server.
Or would upload my index.jsp page by itself to my server then create two WAR files, one for photos and one for recipes and upload those to my server?
ThanksSorry I'm so thick, I just don't seem to grasp the concept of how to structure my web pages in tomcat (or any j2ee server I suppose). Any help, as always, is greatly appreciated.
Let's say I want to build a personal website that would have a default homepage and two fairly complex "applications", a photo album and a recipes collection.
Would I build my default page, let's call it index.jsp and then my applications in two sub-directories (say, "photos" and "recipes") and the wrap the whole thing up in a WAR file and upload it to my server.
Or would upload my index.jsp page by itself to my server then create two WAR files, one for photos and one for recipes and upload those to my server?
Thanks -
Query taking too long when using bind variable
Hi All,
There is a query in our prod DB which runs very slow (approx 2 hours) when it uses Bind Variables (using JDBC thin client), and when i try passing the variable using TOAD/SQL developer it runs fine.
Explain Plan for running Query
SELECT STATEMENT ALL_ROWSCost: 146 Bytes: 379 Cardinality: 1
21 SORT ORDER BY Cost: 146 Bytes: 379 Cardinality: 1
20 NESTED LOOPS Cost: 145 Bytes: 379 Cardinality: 1
17 HASH JOIN Cost: 22 Bytes: 42,558 Cardinality: 123
15 MERGE JOIN CARTESIAN Cost: 15 Bytes: 8,910 Cardinality: 27
12 FILTER
11 NESTED LOOPS OUTER Cost: 9 Bytes: 316 Cardinality: 1
8 NESTED LOOPS OUTER Cost: 8 Bytes: 290 Cardinality: 1
5 NESTED LOOPS Cost: 6 Bytes: 256 Cardinality: 1
2 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE GDP.GDP_FX_DEALS_INCREMENTOR Cost: 4 Bytes: 28 Cardinality: 1 Partition #: 9 Partition access computed by row location
1 INDEX RANGE SCAN INDEX GDP.GDP_FX_DEALS_INC_IDX_01 Cost: 3 Cardinality: 1
4 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 2 Bytes: 228 Cardinality: 1
3 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 1 Cardinality: 1
7 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 2 Bytes: 34 Cardinality: 1
6 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 1 Cardinality: 1
10 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_COUNTERPARTIES Cost: 1 Bytes: 26 Cardinality: 1
9 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.PK_CPTY Cost: 0 Cardinality: 1
14 BUFFER SORT Cost: 14 Bytes: 448 Cardinality: 32
13 TABLE ACCESS FULL TABLE GDP.GDP_CITIES Cost: 6 Bytes: 448 Cardinality: 32
16 TABLE ACCESS FULL TABLE GDP.GDP_AREAS Cost: 6 Bytes: 2,304 Cardinality: 144
19 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_PORTFOLIOS Cost: 1 Bytes: 33 Cardinality: 1
18 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.PORTFOLIOS_KEY Cost: 0 Cardinality: 1
Explain Plan for Slow Query
Plan
SELECT STATEMENT ALL_ROWSCost: 11,526,226 Bytes: 119,281,912 Cardinality: 314,728
21 SORT ORDER BY Cost: 11,526,226 Bytes: 119,281,912 Cardinality: 314,728
20 HASH JOIN Cost: 11,510,350 Bytes: 119,281,912 Cardinality: 314,728
2 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_PORTFOLIOS Cost: 1,741 Bytes: 177,540 Cardinality: 5,380
1 INDEX FULL SCAN INDEX (UNIQUE) GDP.PORTFOLIOS_KEY Cost: 14 Cardinality: 5,380
19 HASH JOIN Cost: 11,507,479 Bytes: 87,932,495,360 Cardinality: 254,140,160
3 TABLE ACCESS FULL TABLE GDP.GDP_AREAS Cost: 6 Bytes: 2,304 Cardinality: 144
18 MERGE JOIN CARTESIAN Cost: 11,506,343 Bytes: 18,602,733,930 Cardinality: 56,371,921
15 FILTER
14 HASH JOIN RIGHT OUTER Cost: 3,930,405 Bytes: 556,672,868 Cardinality: 1,761,623
5 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_COUNTERPARTIES Cost: 6,763 Bytes: 892,580 Cardinality: 34,330
4 INDEX FULL SCAN INDEX (UNIQUE) GDP.PK_CPTY Cost: 63 Cardinality: 34,330
13 HASH JOIN OUTER Cost: 3,923,634 Bytes: 510,870,670 Cardinality: 1,761,623
10 HASH JOIN Cost: 2,096,894 Bytes: 450,975,488 Cardinality: 1,761,623
7 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE GDP.GDP_FX_DEALS_INCREMENTOR Cost: 2,763 Bytes: 52,083,248 Cardinality: 1,860,116 Partition #: 14 Partition access computed by row location
6 INDEX RANGE SCAN INDEX GDP.GDP_FX_DEALS_INC_IDX_01 Cost: 480 Cardinality: 334,821
9 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 1,734,205 Bytes: 8,320,076,820 Cardinality: 36,491,565
8 INDEX FULL SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 104,335 Cardinality: 39,200,838
12 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 1,733,836 Bytes: 1,331,145,696 Cardinality: 39,151,344
11 INDEX FULL SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 104,335 Cardinality: 39,200,838
17 BUFFER SORT Cost: 11,499,580 Bytes: 448 Cardinality: 32
16 TABLE ACCESS FULL TABLE GDP.GDP_CITIES Cost: 4 Bytes: 448 Cardinality: 32
How can I avoid that.
ThanksHello
Could you reformat your execution plans because they aren't particularly readable. The forums allow you to preserve the formatting of code or output by putting the symbol {noformat}{noformat} before and after the section of text you want to preserve formatting for.
If you write
{noformat}select * from v$version
{noformat}
it will be displayed asselect * from v$version
So can you run this above statement and post the output here so we know the full oracle version you are working with? And finally, it would be really helpful to see the query you are running. When you say it runs fine in Toad, is that when you replace the bind variables with the values or are you also using bind variables in Toad?
Cheers
David -
Separated Instance Variables in a Split Activity
Hi,
How do I get a separated instance variable to propogate to copies in a split activity ? With a SplitN by design this is a manual task using copy.sepVar = sepVar but how do you do this in a Split ?
Any help would be greatly appreciated.
cheers
Tonyso what you are saying is: the best way is to instead
defining these instance variables, pass these
variables values as parameters to private methods?I would agree with this. You need to be very careful when using instance variables with SSB's. You only (currently) have one public method defined in your bean, so you don't need to be concerned about the Container serving you up a different bean on a latter invocation - yet. Adding another public method that uses the same instance variables will cause this to break.
As far as synchronization goes, you can get into scalability problems here. If your container is trying to process multiple threads through your Bean, each thread will be forced to block until the previous thread continues its task - which can be a performance killer. A slow database query for one user could starve many other users on the system.
I would suggest either passing all your variables as parameters to your private methods, or (if you are talking about a lot of parameters being passed,) create a Delegate Object behind your EJB to handle all of the processing. -
I have a simple sharepoint workflow that sends and email to users. I know that the mail portion works because I can put a user's email address in the to: field and it sends fine. If I use a string variable with the email address, I get a workflow
error.
Simple steps to repro for me:
Create a new workflow in SPD (I have tried a list workflow and site workflow)
Create a workflow variable named email.
Set the variable to an email address where the user is in the site
Send email and do a variable lookup to the email variable just set.
The workflow just hangs in this scenario
I do get an error:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://[tenant].sharepoint.com/_api/sp.utilities.utility.SendEmail
Correlation Id: 568e9c68-ea75-d057-ab9f-d86f6cae3021 Instance Id: 9cc721a4-78e6-456f-812b-67351dfc9710
The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
Retry nowSimple answer... When I used the variable, I marked it as a string. There is an email address setting.
-
Using Static Variable against Context Attribute for Holding IWDView
Dear Friends,
I have a method which is in another DC which has a parameter of the type IWDView. In my view, I will have an action which will call the method in another component by passing the value for the view parameter. Here, I can achieve this in 2 types. One is - I declare a static variable and assign the wdDoModifyView's view as parameter value and I can pass this variable as parameter whenever calling that method or the second way - create an attribute and assign the same wdDoModifyView's view parameter as its value. Whenever I call this method, I can pass this attribute as parameter. What is the difference between these two types of holding the value since I am storing the same value i.e., wdDoModifyView's view parameter. But when I trigger the action from different user sessions, the first type of code (using static variable) prints the same value in both the sessions for view.hashCode() and View.toString(), but the same is printing the different values when I pass the attribute which holds the view parameter.
Clarification on this is highly appreciated
The problem I face is when I use static variable to get the view instance and export the data using the UI element's id, the data belonging to different user sessions is mixed up where as when I use Context Attribute, the same problem doesn't arise. I want to know the reason why it is so. Is there any other place or way where I can get the current view instance of each session instead of wdDoModifyView?Hi Sujai ,
As you have specified the problem that we face when we use static attributes, when end users are using the application .
Static means i have n number of objects but the static variable value will remain same every where.
when it is context attribute for every object i.e nth object you have a nth context attribute i mean nth copy of the context attribute.
so every user has a unique Iview parameter , when context is used and
when static is used , assume you have userA , his iview is set this intially and u have another user B , when he is using , since the variable is static and when you access this variable you will get the value of userA.
Regards
Govardan Raj -
Using environment variable / double quotes in "Arguments" in "Server Start"
I have an admin server, NodeManager, and 1 managed server, all on the same machine (windows). I am trying to enter something similar to this to the arguments field in the Server Start tab:
-Dmy.property=%USERPROFILE%\someDir\someJar.jar
But when the managed server is started it throws this exception:
Error opening zip file or JAR manifest missing : %USERPROFILE%\someDir\someJar.jar
It appears that the environment variable is not being translated into it's value. It is just passed on to the managed server as plain-text. I tried surrounding the path with double quotes (") but the console validates the input and does not allow this: *"Arguments may not contain '"'"*
Even editing the config.xml file manually cannot work, as the admin server fails to startup after this:
<Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing failure in config.xml: java.lang
.IllegalArgumentException: Arguments may not contain '"'.>
I also tried using %20 to no avail, it is just passed as %20.
I thought that perhaps this had something to do with the spaces in the value of %USERPROFILE% (which is "C:\documents and settings.."), but the same thing happens with other env. variables which point to other directories with no spaces.
_My question:_
Is there any supported way of :
using double quotes? what if i have to reference a folder with spaces in it's name?
reference an environment variable? What if i have to rely on it's value for distributed servers where i do not know in advance the variable's value?
Edited by: 937622 on Sep 28, 2012 1:02 AMThere is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
Just posting here for reference. Let's see if we get a different answer from anyone else. -
Build error on using environment variable for CS5 on Mac
I have created a sample project using dollyx on Mac for CS5 . I have used an environment variable and defined it in Source tree of XCode preferences.
I am using snow leapard and my XCode version is 3.2.2 .
I have defined variable as IDSDK7 for /idsdk7 (which is my SDK directory). I am creating project outside SDK . While creating project with DollyX , I am giving SDK's path as $(IDSDK7) which is absolute path and not relative with respect to the project .
I am getting many build errors -----
/idsdk7/external/afl/includes/AErrors.h:31:0 /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
/idsdk7/source/public/includes/K2Debugging.h:53:0 /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
/idsdk7/source/public/includes/UnicodeSavvyString.h:35:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
/idsdk7/source/public/includes/PMString.h:34:0 /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
/idsdk7/source/public/includes/UnicodeSavvyString.h:211:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
/idsdk7/source/public/includes/PMString.h:120:0 /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
/idsdk7/source/public/includes/PMString.h:1196:0 /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
/idsdk7/source/public/includes/WideString.h:322:0 /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
/idsdk7/source/public/includes/WideString.h:751:0 /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
/idsdk7/source/public/includes/IDFile.h:385:0 /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
/idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
/idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
/idsdk7/source/public/interfaces/architecture/IDataBase.h:779:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
/idsdk7/source/public/includes/InterfacePtr.h:506:0 /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
/idsdk7/source/public/includes/K2Vector.h:241:0 /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
/idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
/idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
/idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
/idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
/CS5Test/Prj/../Source/CTActionComponent.cpp:0:0 /CS5Test/Prj/../Source/CTActionComponent.cpp: At global scope:
/CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than the type of its field 'CTActionComponent::<anonymous>'
/CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than its base 'CActionComponent'
CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o ../Source/CTNoStrip.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /CS5Test/Prj
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTNoStrip.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o
In file included from /idsdk7/external/afl/includes/AFile.h:30,
from /idsdk7/source/public/includes/IDFile.h:34,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
In file included from /idsdk7/source/public/includes/PMString.h:28,
from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
In file included from /idsdk7/source/public/includes/PMString.h:31,
from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
In file included from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
In file included from /idsdk7/source/public/includes/PMString.h:31,
from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
In file included from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
/idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/public/includes/IDFile.h:37,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
/idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
cc1plus: warnings being treated as errors
In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
/idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
/idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
from /idsdk7/source/public/includes/PMPoint.h:29,
from /idsdk7/source/public/includes/PMMatrix.h:33,
from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
/idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
/idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
/idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
/idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
/idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o ../Source/CTID.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /CS5Test/Prj
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTID.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o
In file included from /idsdk7/external/afl/includes/AFile.h:30,
from /idsdk7/source/public/includes/IDFile.h:34,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
In file included from /idsdk7/source/public/includes/PMString.h:28,
from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
In file included from /idsdk7/source/public/includes/PMString.h:31,
from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
In file included from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
In file included from /idsdk7/source/public/includes/PMString.h:31,
from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
In file included from /idsdk7/source/public/includes/IDFile.h:36,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
/idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/public/includes/IDFile.h:37,
from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
/idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
cc1plus: warnings being treated as errors
In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
/idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
/idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
from /idsdk7/source/public/includes/PMPoint.h:29,
from /idsdk7/source/public/includes/PMMatrix.h:33,
from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
from <command-line>:0:
/idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
/idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
/idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
/idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
/idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
/idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypoint.o /idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /CS5Test/Prj
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypo int.o
i686-apple-darwin10-gcc-4.2.1: /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp: No such file or directory
i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
i686-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
Without using environment variable everything works fine . (i.e when I give SDK's dir path like ../../ i.e relative to my project)There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
Just posting here for reference. Let's see if we get a different answer from anyone else. -
When to use REUSE/SET, NO-ARCHIVELOGS in create controlfile in HOT BACKUP?
I am a trainee Oracle DBA and have the following queries. Kindly reply with detailed explanation as I want to get my concepts cleared!
Q1>> While doing a user managed hot backup, when we are creating a control file(CREATE CONTROLFILE) from trace for recovery when do we use the create control file with the following options:
*1. REUSE / SET*
*2. ARCHIVELOGS / NOARCHIVELOGS*
Q2>> In what scenarios do we re-create the control file while recovering datafiles from a hot backup??
Thanks a tonne!
Regards,
BhaviHemant K Chitale wrote:
1.1 It is not "REUSE/SET". These are two very different clauses.
REUSE is when you want the CREATE to overwrite the existing controlfile(s). If the controlfile(s) {as named in the instance parameter file, initSID.ora or spfileSID.ora} is/are already present, the CREATE fails unless REUSE is specified.
SET is when you want to change the database name. Oracle then creates the controlfile(s) with the specified database name and updates the headers of all the datafiles. If you run a CREATE with a database name that is different from that in the datafile headers, the CREATE fails unless you include a SET to specify that the name must be changed. Note that this also means that the name in the instance parameter file must already have been updated.
1.2 ARCHIVELOG/NOARCHIVELOG is to set the database state. The same is achieved by issuing an "ALTER DATABASE ARCHIVELOG/NOARCHIVELOG" when the database is MOUNTed but not OPEN.
2. You'd run the CREATE CONTROLFILE if you do not have a binary backup of the controlfile.
Optionally, you can also use CREATE CONTROLFILE to rename all the datafiles by specifying the new locations of the datafiles -- the datafiles must already be present in the new locations, else the CREATE fails if it doesn't find a datafile that is included in the list of datafiles included in the CREATE statement.
RMAN is the correct way to run Backups. User Managed Backup scripts are used in cases like Storage-based Snapshots / SnapClones / BCV.
Hemant K ChitaleThanks that was really helpful..One last question when to use the resetlogs/noresetlogs clause in the create controlfile statement. I have noticed that at times it accepts resetlog while at times it accepts noresetlogs
Maybe you are looking for
-
I keep getting messages that indicate that I will lose my 20 GB complimentary storage. "Your complimentary iCloud storage upgrade expires on September 30, 2013." When I go to my icloud settings - it shows that I am on the 20GB plan for $40. What give
-
Hi, I've just noticed that my file type associations have been lost when upgrading from 3.2 to 4.0EA3 Can you ensure that these are included in the imported preferences please? thanks
-
Filesystem corruption --- how to prevent?
Sometimes one has to do a hard reset. When reading about btrfs, its 'copy-on-write'-feature got my attention. 1. Does btrfs completely prevent filesystem corruption on a hard reset? I'm asking because recently my / (ext4) filesystem on my laptop got
-
Is there any way to archive a large iPhoto library (15GB) onto DVD, so that it can be recreated, complete with albums and folders? I used the Burn function within iPhoto 5, selecting different folders and albums for each volume, to put it on 4 DVDs,
-
Is it possible to control and change the status of the notification center in iPhone for a particular application. 1) In the application push notification is implemented. 2) Once this application is installed we can see the app in the notif