Subversion Repositories DevTools

Rev

Rev 832 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 832 Rev 864
Line 127... Line 127...
127
       }
127
       }
128
     }
128
     }
129
     else if (mGeneric)
129
     else if (mGeneric)
130
     {
130
     {
131
       mLogger.info("getPlatform mGeneric");
131
       mLogger.info("getPlatform mGeneric");
132
       for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
132
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
133
       {
133
       {
134
         String gbemachtype = (String) it.next();
134
         String gbemachtype = it.next();
135
 
135
 
136
         if ( gbemachtype.compareTo("win32") == 0 ||
136
         if ( gbemachtype.compareTo("win32") == 0 ||
137
              gbemachtype.compareTo("linux_i386") == 0 ||
137
              gbemachtype.compareTo("linux_i386") == 0 ||
138
              gbemachtype.compareTo("sparc") == 0 ||
138
              gbemachtype.compareTo("sparc") == 0 ||
139
              gbemachtype.compareTo("solaris10_x86") == 0 ||
139
              gbemachtype.compareTo("solaris10_x86") == 0 ||
Line 150... Line 150...
150
       }
150
       }
151
     }
151
     }
152
     else if (mWin32)
152
     else if (mWin32)
153
     {
153
     {
154
       mLogger.info("getPlatform mWin32");
154
       mLogger.info("getPlatform mWin32");
155
       for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
155
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
156
       {
156
       {
157
         String gbemachtype = (String) it.next();
157
         String gbemachtype = it.next();
158
 
158
 
159
         if ( gbemachtype.compareTo("win32") == 0 )
159
         if ( gbemachtype.compareTo("win32") == 0 )
160
         {
160
         {
161
           retVal = "  <platform gbe_machtype=\"win32\"/>";
161
           retVal = "  <platform gbe_machtype=\"win32\"/>";
162
           break;
162
           break;
Line 164... Line 164...
164
       }
164
       }
165
     }
165
     }
166
     else if (mSolaris)
166
     else if (mSolaris)
167
     {
167
     {
168
       mLogger.info("getPlatform mSolaris");
168
       mLogger.info("getPlatform mSolaris");
169
       for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
169
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
170
       {
170
       {
171
         String gbemachtype = (String) it.next();
171
         String gbemachtype = it.next();
172
 
172
 
173
         if ( gbemachtype.compareTo("sparc") == 0 || gbemachtype.compareTo("solaris10_x86") == 0 || gbemachtype.compareTo("solaris10_sparc32") == 0 )
173
         if ( gbemachtype.compareTo("sparc") == 0 || gbemachtype.compareTo("solaris10_x86") == 0 || gbemachtype.compareTo("solaris10_sparc32") == 0 )
174
         {
174
         {
175
           if ( retVal.length() > 0 )
175
           if ( retVal.length() > 0 )
176
           {
176
           {
Line 183... Line 183...
183
       }
183
       }
184
     }
184
     }
185
     else
185
     else
186
     {
186
     {
187
       mLogger.info("getPlatform mLinux");
187
       mLogger.info("getPlatform mLinux");
188
       for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
188
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
189
       {
189
       {
190
         String gbemachtype = (String) it.next();
190
         String gbemachtype = it.next();
191
 
191
 
192
         if ( gbemachtype.compareTo("linux_i386") == 0 )
192
         if ( gbemachtype.compareTo("linux_i386") == 0 )
193
         {
193
         {
194
           retVal = "  <platform gbe_machtype=\"linux_i386\"/>";
194
           retVal = "  <platform gbe_machtype=\"linux_i386\"/>";
195
           break;
195
           break;
Line 243... Line 243...
243
      }
243
      }
244
    }
244
    }
245
    else if (mGeneric)
245
    else if (mGeneric)
246
    {
246
    {
247
      mLogger.info("getBuildStandard mGeneric");
247
      mLogger.info("getBuildStandard mGeneric");
248
      for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
248
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
249
      {
249
      {
250
        String gbemachtype = (String) it.next();
250
        String gbemachtype = it.next();
251
 
251
 
252
        if ( gbemachtype.compareTo("win32") == 0 ||
252
        if ( gbemachtype.compareTo("win32") == 0 ||
253
             gbemachtype.compareTo("linux_i386") == 0 ||
253
             gbemachtype.compareTo("linux_i386") == 0 ||
254
             gbemachtype.compareTo("sparc") == 0 ||
254
             gbemachtype.compareTo("sparc") == 0 ||
255
             gbemachtype.compareTo("solaris10_x86") == 0 ||
255
             gbemachtype.compareTo("solaris10_x86") == 0 ||
Line 261... Line 261...
261
      }
261
      }
262
    }
262
    }
263
    else if (mWin32)
263
    else if (mWin32)
264
    {
264
    {
265
      mLogger.info("getBuildStandard mWin32");
265
      mLogger.info("getBuildStandard mWin32");
266
      for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
266
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
267
      {
267
      {
268
        String gbemachtype = (String) it.next();
268
        String gbemachtype = it.next();
269
 
269
 
270
        if ( gbemachtype.compareTo("win32") == 0 )
270
        if ( gbemachtype.compareTo("win32") == 0 )
271
        {
271
        {
272
          validPlatform = true;
272
          validPlatform = true;
273
          numberOfPlatforms = 1;
273
          numberOfPlatforms = 1;
Line 276... Line 276...
276
      }
276
      }
277
    }
277
    }
278
    else if (mSolaris)
278
    else if (mSolaris)
279
    {
279
    {
280
      mLogger.info("getBuildStandard mSolaris");
280
      mLogger.info("getBuildStandard mSolaris");
281
      for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
281
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
282
      {
282
      {
283
        String gbemachtype = (String) it.next();
283
        String gbemachtype = it.next();
284
 
284
 
285
        if ( gbemachtype.compareTo("sparc") == 0 || gbemachtype.compareTo("solaris10_x86") == 0 || gbemachtype.compareTo("solaris10_sparc32") == 0 )
285
        if ( gbemachtype.compareTo("sparc") == 0 || gbemachtype.compareTo("solaris10_x86") == 0 || gbemachtype.compareTo("solaris10_sparc32") == 0 )
286
        {
286
        {
287
          validPlatform = true;
287
          validPlatform = true;
288
          numberOfPlatforms++;
288
          numberOfPlatforms++;
Line 290... Line 290...
290
      }
290
      }
291
    }
291
    }
292
    else
292
    else
293
    {
293
    {
294
      mLogger.info("getBuildStandard mLinux");
294
      mLogger.info("getBuildStandard mLinux");
295
      for (Iterator it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
295
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
296
      {
296
      {
297
        String gbemachtype = (String) it.next();
297
        String gbemachtype = it.next();
298
 
298
 
299
        if ( gbemachtype.compareTo("linux_i386") == 0 )
299
        if ( gbemachtype.compareTo("linux_i386") == 0 )
300
        {
300
        {
301
          validPlatform = true;
301
          validPlatform = true;
302
          numberOfPlatforms = 1;
302
          numberOfPlatforms = 1;